Skip to content

CF module should use the lambda's region as default #3

@HyperBrain

Description

@HyperBrain

Currently the CF integration uses the SERVERLESS_REGION variable that is not set by default. That means that you have to set it manually for each region.
As most users would use the lambda context's region it would be better to set this as default. Then serverless' environment variables would stay clean. Technically the lambda region can be retrieved from the AWS SDK.
An optional parameter could be added to CF.loadVars() to cover the remaining corner cases where you do not want to use the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions