Open chuckoy opened 7 years ago
@jorgebastida @ausmith this would be awesome. would you accept a PR with this feature?
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.
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 runninggordon 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.