serverless-offline-ssm-parameter-store
v1.0.1
Published
serverless plugin to support offline development of features dependent on SSM parameter store
Downloads
14
Maintainers
Readme
why
to emulate AWS Cloud SSM Parameter Store service
get
install
npm install --save-dev aws-ssm-parameter-store
setup
plugins:
- serverless-offline-ssm-parameter-store
- serverless-offline
use
two sources of configuration
serverless.yml
:custom: ssm-parameter-store: parameters: '/offline/parameter/name.1': 'offline_parameter_value' '/offline/parameter/name.2': 1234
external file provided in
serverless.yml
serverless.yml
:custom: ssm-parameter-store: file: 'offline.parameters'
offline.parameters
:/offline/parameter/name.1=offline_file_parameter_value
parameter from file overrides parameter with the same names from yml configuration
serverless.yml
:custom: ssm-parameter-store: parameters: '/offline/parameter/name': 'original value' file: 'offline.parameters'
offline.parameters
:/offline/parameter/name=overriden value