Read SSM parameters from a .env file instead of AWS
Switch branches/tags
Nothing to show
Clone or download


Build Status

This Serverless plugin allows you to develop offline while using AWS SSM parameters in your serverless.yml template. The plugin looks for environment variables which are fulfilled by SSM parameters at build time and substitutes them from a .env file when running locally with the serverless-offline plugin.



First install the plugins using npm or yarn

npm install serverless-offline serverless-offline-ssm --save-dev


yarn install -D serverless-offline serverless-offline-ssm

Then inside of your project's serverless.yml file add the following to the plugins section. Note it is important that serverless-offline-ssm is loaded before serverless-offline. This is important to ensure that we are setting the variables properly for serverless-offline before it needs them.

    - serverless-offline-ssm
    - serverless-offline


Pull requests are always welcome. Please see the contributing guidelines.