Skip to content

Commit 7f2d6e6

Browse files
authored
Update admin
1 parent 919d6c8 commit 7f2d6e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user_data/admin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,5 @@ systemctl enable amazon-ssm-agent
217217
wget https://s3.${AWS_DEFAULT_REGION}.amazonaws.com/amazoncloudwatch-agent-${AWS_DEFAULT_REGION}/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb
218218
dpkg -i amazon-cloudwatch-agent.deb
219219
/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -s -c ssm:amazon-cloudwatch-agent-${INSTANCE_NAME}.json
220+
221+
chmod 750 /usr/bin/aws

0 commit comments

Comments
 (0)