Permalink
e616fcf Nov 24, 2016
24 lines (18 sloc) 813 Bytes

set-version

Create or update a lambda alias/api stage to point to the latest deployed version

Usage

claudia set-version {OPTIONS}

Options

  • --version: the alias to update or create
    • For example: production
  • --source: optional Directory with project files
    • Defaults to: current directory
  • --config: optional Config file containing the resource names
    • Defaults to: claudia.json
  • --set-env: optional comma-separated list of VAR=VALUE environment variables to set
    • For example: S3BUCKET=testbucket,SNSQUEUE=testqueue
  • --set-env-from-json: optional file path to a JSON file containing environment variables to set
    • For example: production-env.json
  • --env-kms-key-arn: optional KMS Key ARN to encrypt/decrypt environment variables