up-env

0.0.12 • Public • Published

up-env

A super simple cli utility for Apex up that loads environmental variables from AWS SSM (parameter store) into up.json.

Uses the familiar serverless syntax "${ssm:PARAMETER_STORE_PATH}".

Example

{
  "app": "app",
  "region": "us-east-1",
  "hooks": {
    "prebuild": "up-env load",
    "cleanup": "up-env restore"
  },
  "environment": {
    "SECRET_KEY": "${ssm:/app/API_KEY}"
  }
}

Package Sidebar

Install

npm i up-env

Weekly Downloads

2

Version

0.0.12

License

MIT

Unpacked Size

87.1 kB

Total Files

15

Last publish

Collaborators

  • menubar