Update Environment Variable AWS_DEFAULT_REGION

Fixed the correct environment variable for AWS region.

http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-environment
This commit is contained in:
Denis 2016-04-03 01:33:44 -04:00
parent 516f197cdb
commit f3920ea0dd

View File

@ -13,7 +13,7 @@ RUN apk update && apk add \
&& { \
echo '[default]'; \
echo 'output = json'; \
echo 'region = $AMAZON_REGION'; \
echo 'region = $AWS_DEFAULT_REGION'; \
echo 'aws_access_key_id = $AMAZON_ACCESS_KEY_ID'; \
echo 'aws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY'; \
} > /root/.aws/config