Merge pull request #1251 from edubxb/aws-variable-name

Update AWS variable name
pull/1252/head
Nils Winkler 2018-10-29 09:06:20 +01:00 committed by GitHub
commit 82776162d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -72,14 +72,14 @@ function __awskeys_export {
export "$(echo ${key} | tr [:lower:] [:upper:])=${p_key#*=}" export "$(echo ${key} | tr [:lower:] [:upper:])=${p_key#*=}"
done done
fi fi
export AWS_DEFAULT_PROFILE="$1" export AWS_PROFILE="$1"
else else
echo "Profile $1 not found in credentials file" echo "Profile $1 not found in credentials file"
fi fi
} }
function __awskeys_unset { function __awskeys_unset {
unset AWS_DEFAULT_PROFILE AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY unset AWS_PROFILE AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
} }
function __awskeys_comp { function __awskeys_comp {