Home

Awesome

Serverless Package Env Plugin Build Status

A Serverless plugin to copy a .env file into the serverless package

Installation

npm i serverless-plugin-package-dotenv-file

Usage

service: your-service
...
custom:
  packageEnv:
    fileName: .env-${env:ENVIRONMENT}

plugins:
  - serverless-plugin-package-dotenv-file