Created
September 27, 2022 08:37
-
-
Save bruvio/c0f1cee7ea17d618cec4b05ecbc761ff to your computer and use it in GitHub Desktop.
aws sso login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aws_login() | |
| { | |
| local profile=${1:-dev_admin} | |
| local enviroment=${2:-dev} | |
| aws sso login --profile $profile ; export AWS_PROFILE=$profile; export ENV=$enviroment | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment