Support for awscli v2 in CI images?

Now that Amazon has moved their awscli utility to version 2, and decided to make it available only as a bundled installer, what method do people recommend for depending on it in .travis.yml (for eventual deployment of built objects to S3, for example)?

Will it, for example, be made available as part of Travis build images so that individual projects don’t need to lift installation of this on their own?

Came here with the same question.

Right now, my .travis.yml does this which does the job, but strikes me as a tetch hacky…

  # install awscli v2 if not available
  - if ! [ -x "$(command -v aws)" ]; then curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ; unzip awscliv2.zip ; sudo ./aws/install ; fi

THere[quote=“ViktorHaag, post:1, topic:7197”]
what method do people recommend for depending on it in .travis.yml (for eventual deployment of built objects to S3, for example)?
[/quote]

There’s a stock deployer for S3: https://docs.travis-ci.com/user/deployment/s3/.

Imprint