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

Native support for .env in Serverless Framework #63

Closed
medikoo opened this issue Jul 20, 2020 · 1 comment
Closed

Native support for .env in Serverless Framework #63

medikoo opened this issue Jul 20, 2020 · 1 comment

Comments

@medikoo
Copy link
Contributor

medikoo commented Jul 20, 2020

@colynb great thanks for this plugin!

We're currently investigating a possibility of supporting .env file natively in a Framework.

Main reason is that ideally env vars from .env should be loaded at very begin of a process, and resolution via plugin is delayed simply by its nature. So taking into account dotenv popularity I believe it's a good call to make it a first class citizen in the Framework (it's also already supported in Serverless Components)

Also we simply plan to support it it as convenient env vars transport into process.env and nothing more (no automatic leak into lambdas etc.)

We will value your feedback at serverless/serverless#7907

@colynb
Copy link
Collaborator

colynb commented Jul 25, 2020

Thanks @medikoo - I included my comments in that thread. I'm more than happy to be part of the conversation and will do my best to support your efforts.

@colynb colynb closed this as completed Jul 25, 2020
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

2 participants