From 965d366f33295a0abc342afebad5be08c53d5049 Mon Sep 17 00:00:00 2001 From: Young-ook Kim Date: Thu, 3 Nov 2022 22:00:49 +0900 Subject: [PATCH] feat(ssm): enable cloudwatch agent by default --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 8cf99b9..1fba9c8 100644 --- a/main.tf +++ b/main.tf @@ -84,6 +84,7 @@ data "cloudinit_config" "ng" { #!/bin/bash sudo yum update -y yum install -y amazon-cloudwatch-agent + /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s EOT }