Skip to content

Replace secrets in environment variables defined under function #29

Description

@robin-thomas

The plugin replaces the environment variables defined under provide.environment key in serverless.yml.

Rather than restricting to this, replace the ones that can be defined like:

functions:
  function1:
    handler: index.handler
    env:
      ...

Also, make provider.environment as optional so that the plugin wont crash if its not set.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions