gordon icon indicating copy to clipboard operation
gordon copied to clipboard

Have Gordon assume a role when running gordon apply

Open chuckoy opened this issue 8 years ago • 2 comments

The way we've set up AWS makes it so that we assume different roles when performing actions whether in dev/prod/test etc etc.

Is there a way to make Gordon assume one of the roles that we've defined in ~/.aws/credentials when running gordon apply? (e.g.: gordon apply --profile nonprod)

I saw in this issue using environment variables AWS_PROFILE=dev but having it as a command-line argument would be nice too.

chuckoy avatar Feb 14 '17 04:02 chuckoy

@jorgebastida @ausmith this would be awesome. would you accept a PR with this feature?

AlJohri avatar Apr 20 '18 16:04 AlJohri

I appreciate you think I am a maintainer on this project, but I am not and have not used this tooling in almost 2 years now. My current employer uses Terraform for all AWS resource deployments.

ausmith avatar Apr 23 '18 20:04 ausmith