Commit 5e2eb44d by Kevin Falcone Committed by GitHub

Merge pull request #3340 from edx/jibsheet/ansible-provision-aws-creds

Allow sandboxes to be created using env tokens rather than boto config
parents 597d12cb abdcb70e
......@@ -69,7 +69,8 @@ if [[ -z $github_username ]]; then
github_username=$BUILD_USER_ID
fi
if [[ ! -f $BOTO_CONFIG ]]; then
# Having access keys OR a boto config allows sandboxes to be built.
if [[ ( -z $AWS_ACCESS_KEY_ID || -z $AWS_SECRET_ACCESS_KEY ) && (! -f $BOTO_CONFIG) ]]; then
echo "AWS credentials not found for $aws_account"
exit 1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment