Tool information
Apache License, Version 2.02.1.4)2.1.6 or 2.1.7 Area for Triage: Scripting and command line
Virtual environments affected
Can this tool be installed during the build?
https://github.com/aws/aws-cli/tree/v2#installation or https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
latest version installation:
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
or specific version
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
Tool installation time in runtime
Not verified just yet.
Are you willing to submit a PR?
Sure
NOTE: 2.1.6 introduced ecr-public subcommand which handles requests towards recently launched AWS public ECR
Hello, @pmalek-sumo
The https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/aws.sh script is updated to install the latest version aws cli v2 for Ubuntu 20.04.
Thanks @al-cheb for clarification
So do I understand it correctly that it all depends on which runner I end up running my job on because of the time when the runner was provisioned?
Or is there a different reason for my job getting aws 2.1.4 in here: https://github.com/SumoLogic/sumologic-kubernetes-collection/runs/1517520296?check_suite_focus=true#step:4:4 ?
@pmalek-sumo , the script that Alex mentioned install always the latest version of AWS to Ubuntu 20.04 images.
Currently, it is 2.1.4 that was released 14 days ago. With next image rollout, images will be updated to AWS CLI 2.1.8 automatically.
Usually, it takes less time to propagate new version but we have deployment freeze this week due to Universe so i would expect new image with latest AWS next week
Ok, got it.
Can we leave this issue open until new rollout so that we get a notification when can we change our workflows?
Sure, we will update an issue as soon as deployment is finished
Same here, see docker/login-action#37 for more info.
ubuntu-latest / ubuntu-18.04: AWS CLI 1.18.185ubuntu-20.04: AWS CLI 2.1.4Thanks.
Any updates on deployment?
Deployment of Ubuntu 20.04 has been finished yesterday.
AWS CLI was updated to 2.1.9.
Closign the issue.
Most helpful comment
Deployment of Ubuntu 20.04 has been finished yesterday.
AWS CLI was updated to 2.1.9.
Closign the issue.