feat(aws): Adds the login option for AWS SSO (#9921)

This commit is contained in:
Nicholas Hawkes 2021-11-27 15:34:47 -05:00 committed by GitHub
commit bf303965e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,10 @@ function asp() {
export AWS_DEFAULT_PROFILE=$1
export AWS_PROFILE=$1
export AWS_EB_PROFILE=$1
if [[ "$2" == "login" ]]; then
aws sso login
fi
}
# AWS profile switch