Created
June 14, 2018 15:52
-
-
Save jbouse/1d07cf0a4dc6f4d11698c87f7f605b52 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
trap - INT TERM | |
docker run --rm \ | |
-t $(tty &>/dev/null && echo "-i") \ | |
-v ${HOME}/.aws:/root/.aws \ | |
dtjohnson/aws-azure-login \ | |
--profile dev $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment