dockerfile-terraforming
dockerfile-terraforming copied to clipboard
please support using the --profile and --region parameter
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.