Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 587 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 587 Bytes

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!