I need to use an updated awscli version. Looks like the version available with “machine” is quite old (“aws-cli/1.11.165 Python/2.7.6 Linux/4.4.0-96-generic botocore/1.7.23”).
What’s the best way to do that?
For reference, here’s the beginning of my config file:
version: 2.1
jobs:
build-and-deploy:
machine: true
steps:
- checkout
- run: aws --version
- run: aws ecr get-login-password | docker login --username AWS --password-stdin etc. etc.
(that last command fails because get-login-password is from 1.18)