How to run aws configure in a travis deploy script?
.travis.yml file I have this:
before_deploy: - 'curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"' - 'unzip awscli-bundle.zip' - './awscli-bundle/install -b ~/bin/aws' - 'export PATH=~/bin:$PATH' - 'aws configure'
And I have set up the following environment variables:
AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION
with their correct values in the
travis-ci web interface.
However when the
aws configure runs, it stops and waits for user input. How can I tell it to use the environment variables I have defined?