Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
27 lines (22 sloc) 1.26 KB

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
  • --update-env: (optional) comma-separated list of VAR=VALUE environment variables to set, merging with old variables
    • For example: S3BUCKET=testbucket,SNSQUEUE=testqueue
  • --set-env: (optional) comma-separated list of VAR=VALUE environment variables to set. replaces the whole set, removing old variables.
    • For example: S3BUCKET=testbucket,SNSQUEUE=testqueue
  • --update-env-from-json: (optional) file path to a JSON file containing environment variables to set, merging with old variables
    • For example: production-env.json
  • --set-env-from-json: (optional) file path to a JSON file containing environment variables to set. replaces the whole set, removing old variables.
    • For example: production-env.json
  • --env-kms-key-arn: (optional) KMS Key ARN to encrypt/decrypt environment variables
You can’t perform that action at this time.