dockerfile-terraforming icon indicating copy to clipboard operation
dockerfile-terraforming copied to clipboard

please support using the --profile and --region parameter

Open tchia04 opened this issue 7 years ago • 0 comments

in other word, I would like to use this

docker run
--rm
--name terraforming
quay.io/dtan4/terraforming:latest
terraforming --profile=default --region=us-west-2 s3

instead of this docker run
--rm
--name terraforming
-e AWS_ACCESS_KEY_ID=xxxxxxxxxxxxxxxxx
-e AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxx
-e AWS_DEFAULT_REGION=us-west-2
quay.io/dtan4/terraforming:latest
terraforming "$@"

Where the default profile is stored in ~/.aws/config and ~/.aws/credential

So I don't have to expose my credential in a script.

tchia04 avatar Feb 12 '18 21:02 tchia04