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

Replace secrets in environment variables defined under function #29

Open
robin-thomas opened this issue Sep 20, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@robin-thomas
Copy link
Owner

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.

@robin-thomas robin-thomas added the enhancement New feature or request label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant