Skip to content

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

Open
@jhonathanvini

Description

@jhonathanvini

|| (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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions