Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set region? #2

Open
dave-lew99 opened this issue Jan 18, 2018 · 5 comments
Open

Ability to set region? #2

dave-lew99 opened this issue Jan 18, 2018 · 5 comments
Assignees

Comments

@dave-lew99
Copy link

Is there the ability to configure AWS region within the _cim.yml file? When using role elevation environment variables are not always set.

(Also, the ability to specify a role to elevate to, to perform the deployment would be useful)

@eetay
Copy link
Contributor

eetay commented Mar 21, 2018

Hi @dave-lew99. I use AWS_REGION environment variable, like so:
AWS_REGION=us-east-1 cim lambda-publish

@rgfindl
Copy link
Contributor

rgfindl commented Mar 21, 2018

I use the named profiles. https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html

`cim stack-up --profile=

@dave-lew99
Copy link
Author

Environment vars will work, but it's an annoying extra step - instead of simply specifying on the command / in the config file.

The profiles method doesn't work for us as our configured profile is a basic user login - we role switch to perform tasks - so there is no profile configured. It's also awkward when you switch regions regularly.

@rgfindl
Copy link
Contributor

rgfindl commented Mar 22, 2018

@dave-lew99 Sounds good. Thanks for the feedback. I'll add region to the _cim.yml.

@rgfindl rgfindl self-assigned this Mar 22, 2018
@dasgoll
Copy link

dasgoll commented Mar 13, 2020

Hi @rgfindl
I love this tool! Any updates on adding region to _cim.yml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants