You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I store my AWS credentials far, far away from my Terraform source code, preferring per-project access keys and a profile configured via aws configure. I add 2 additional options to my docker run command:
My setup is slightly more complex, as I'm using an organization authentication account, and then assuming account profiles; I had to add some more flags, but this got it working for me:
I store my AWS credentials far, far away from my Terraform source code, preferring per-project access keys and a profile configured via
aws configure
. I add 2 additional options to my docker run command:-v ~/.aws:/root/.aws -e AWS_PROFILE=projectprofile \
Adding the volume ~/.aws gives the scripts access to the saved keys I have, and the environment tells which one to use.
Hope this may help somebody.
The text was updated successfully, but these errors were encountered: