File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,16 @@ apt-get -yqq install jq unzip python3-pip chrony
33
33
34
34
if [ " $ARCH " == " x86_64" ]; then
35
35
CW_AGENT_BINARY_URI=https://s3.amazonaws.com/amazoncloudwatch-agent/ubuntu/amd64/latest/amazon-cloudwatch-agent.deb
36
- AWS_CLI_BINARY_URI=https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
37
36
else
38
37
CW_AGENT_BINARY_URI=https://s3.amazonaws.com/amazoncloudwatch-agent/ubuntu/arm64/latest/amazon-cloudwatch-agent.deb
39
- AWS_CLI_BINARY_URI=https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip
40
38
fi
41
39
42
40
cd /opt || exit 1
43
41
44
42
ARCH=$( uname -m)
45
43
46
44
echo " Intalling AWS CLI"
47
- curl " $AWS_CLI_BINARY_URI " -o " awscliv2.zip"
48
- unzip awscliv2.zip
49
- /opt/aws/install
45
+ snap install aws-cli --classic
50
46
51
47
echo " Downloading assets zip file"
52
48
aws s3 cp $ASSETS_S3_PATH ./assets.zip --region $AWS_REGION
You can’t perform that action at this time.
0 commit comments