-
Notifications
You must be signed in to change notification settings - Fork 416
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 update from serverless.yml #89
Comments
This is happening for me too, I've defined my stage and region in |
I've posted my workaround for this issue here. |
@hassankhan Thanks for the info! |
Closed
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure if this is an issue but I think is a good addition. The thing is that if you try to invoke a function that access an aws service (e.g. DynamoDB), with
serverless webpack invoke
orserverless webpack serve
and you haven't specified the region in the handler likeAWS.config.region = "us-west-2"
orAWS.config.update({region: "us-west-2"})
, you got this error:And this doesn't happen if you invoke a function with the command
serverless invoke local
who I suppose is getting the region from serverless.ymlThe text was updated successfully, but these errors were encountered: