Awesome
serverless-dotenv-example
This is a simple example to how you can use dotenv
with the Serverless
Framework without using a
plugin.
See the example in action by running the following:
npm i
npm run sls -- package
The logs and .serverless/cloudformation-template-update-stack.json
show env vars being loaded by
dotenv
as expected.
Got a question or want to see more examples like this? Be sure to check out my AMA repo!