Bundles the AWS CLI in a Docker containter.
I don't find I'm using this enough anymore, so I'll leave the code public. Mostly I'm just doing the occasional hack on AWS with my limited aws-ruby-cli.
To use like it was installed locally, set an alias:
alias aws='docker run --rm -v ${PWD}:/work -e AWS_DEFAULT_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN tristanmorgan/awscli'
and to have the auto-completion working too:
complete -C 'docker run --rm --entrypoint /usr/bin/aws_completer -v ${PWD}:/work -e COMP_LINE -e COMP_POINT tristanmorgan/awscli' aws