We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d91e337 commit 29731cbCopy full SHA for 29731cb
testing/infra/terraform/modules/standalone_apm_server/main.tf
@@ -240,12 +240,14 @@ resource "aws_instance" "apm" {
240
"sudo elastic-agent install -n --unprivileged",
241
"sudo cp ${local.conf_path} /etc/elastic-agent/elastic-agent.yml",
242
"sudo systemctl start elastic-agent",
243
+ "sudo systemctl stop firewalld || true",
244
"sleep 1",
245
] : (
246
var.apm_server_bin_path == "" ? [
247
local.instance_standalone_provision_cmd[var.aws_os],
248
"sudo cp ${local.conf_path} /etc/apm-server/apm-server.yml",
249
"sudo systemctl start apm-server",
250
251
252
] : [
253
"sudo cp ${local.bin_path} apm-server",
0 commit comments