jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have Gordon assume a role when running gordon apply

chuckoy opened this issue · 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.

@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.