jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation
Other
2.05k stars 137 forks source link

Have Gordon assume a role when running gordon apply #125

Open chuckoy opened 7 years ago

chuckoy commented 7 years ago

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.

AlJohri commented 6 years ago

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

ausmith commented 6 years ago

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.