Skip to content

Commit

Permalink
use full path
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 12, 2023
1 parent fcd9906 commit 8d5a520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/apex/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cd /etc
mkdir cloudwatch_agent
cd cloudwatch_agent
echo '${data.local_file.cloudwatch_agent.content}' > cloudwatch_agent_config.json
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:cloudwatch_agent_config.json
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c file:/etc/cloudwatch_agent/cloudwatch_agent_config.json
EOF
}
Expand Down

0 comments on commit 8d5a520

Please sign in to comment.