I hereby claim:
- I am lgallard on github.
- I am lgallard (https://keybase.io/lgallard) on keybase.
- I have a public key ASDhE2ImYMqGcdXJgH838ABvOyuJUii94u-c-UXAeIBEBAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#/bin/sh | |
`grep -A 2 "\[$1\]" $HOME/.aws/credentials | tail -n 2 | awk '{ print toupper($1)"="$3 }' | sed '/^AWS_/s/^/export /'` | |
docker run -it -v $PWD:/data -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY --workdir=/data/$2 hashicorp/terraform:$3 $4 |