Create or update a lambda alias/api stage to point to the latest deployed version
claudia set-version {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