dotenv
A simple dotenv plugin for the Serverless framework.
Getting started
npm install --save-dev serverless-dotenv
and in serverless.yml
:
plugins: - serverless-dotenv
That's it. It will load all .env
file's environment varibles into the Lambda functions when deployed.