A small library for export parameters from AWS Systems Manager.
At the moment it's supported only dotenv.
-
Add
ssm-export-cli
to the project:npm install ssm-export-cli
-
Run:
npx ssm-export --path=<PATH> --file-name=<FILE NAME> --type=<TYPE>
to see instruction, run:
npx ssm-export
Export parameters with path /app/production/
to .env
:
npx ssm-export --path=/app/production/ --file-name=./.env --type=dotenv
Enjoy ✌️