Created
June 9, 2020 22:41
-
-
Save kamataryo/dba81a326212554de1c86428433ab0a5 to your computer and use it in GitHub Desktop.
for .bashrc
This file contains 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
function aws_envify() { | |
export AWS_ACCESS_KEY_ID=$1 | |
export AWS_SECRET_ACCESS_KEY=$2 | |
if [ $3 != '' ]; then | |
export AWS_REGION=$3 | |
export AWS_DEFAULT_REGION=$3 | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment