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

Can't use provider region from serverless.yml #32

Open
jhonathanvini opened this issue Jul 7, 2022 · 0 comments
Open

Can't use provider region from serverless.yml #32

jhonathanvini opened this issue Jul 7, 2022 · 0 comments

Comments

@jhonathanvini
Copy link

|| (this.serverless.service.defaults && this.serverless.service.defaults.region)

Hello, thanks for a nice plugin :)

I am trying to automate some of our tasks, but for that, I'd need the diff to run without the need to pass the --region myregion in the command.

While looking at the code, I noticed it uses this.serverless.service.defaults.region, but I can't find a way to set it, how do I set this default region?

Or in this case, should the line be changed to this.serverless.service.provider.region, or maybe add the provider region to the possible value origins?

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

No branches or pull requests

1 participant