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

Region from Env Vars or profile are not respected for ALL commands but package and deploy #812

Closed
jfuss opened this issue Nov 30, 2018 · 0 comments

Comments

@jfuss
Copy link
Contributor

jfuss commented Nov 30, 2018

The region option in SAM CLI was changed between 0.7.0 and 0.8.0 to add the default explicitly on the command line option. This causes the region to always be set and not allow boto3 to do its resolving of credentials and regions, which is used to set the correct values into the docker container.

Current workaround is to explicitly set the region when invoking a function or interacting with commands that interact with AWS Services.

Fix is in #811

@jfuss jfuss changed the title Region from Env Vars or profile are not respected during invoke Region from Env Vars or profile are not respected for ALL commands but package and deploy Nov 30, 2018
@jfuss jfuss mentioned this issue Nov 30, 2018
6 tasks
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

2 participants