Skip to content

Instantly share code, notes, and snippets.

@jbouse
Created June 14, 2018 15:52
Show Gist options
  • Save jbouse/1d07cf0a4dc6f4d11698c87f7f605b52 to your computer and use it in GitHub Desktop.
Save jbouse/1d07cf0a4dc6f4d11698c87f7f605b52 to your computer and use it in GitHub Desktop.
#!/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