stackery deploy
stackery deploy
Deploy a stack
Synopsis
Deploy a new stack or update an existing stack
stackery deploy --stack-name=<stack> --env-name=<environment> --git-ref=<ref> [flags]
Examples
Deploy a stack to the "production" environment from the "master" branch. The stack is deployed
using the "production" profile in the user's AWS credentials file:
stackery deploy -n my-stack -e production -r master --aws-profile production
Options
--access-key-id string AWS access key ID
--aws-profile string AWS profile name
-b, --base-dir string Build & Package your stack locally by resolving relative paths to a function's source code with respect to this folder (default ".")
--deploy-hooks-dir string Path to a folder where deploy phase overrides are located (default "deployHooks")
-e, --env-name string The environment name
--execute-changeset string CloudFormation template change set ARN
-r, --git-ref string The repository commit reference
-h, --help help for deploy
--interactive-setup An interactive mode that will help walk you through any setup required to locally deploy your stack
--prepare-only Prepare a deployment in your AWS account without executing the generated CloudFormation template
--secret-access-key string AWS secret access key
--session-token string AWS session token
-n, --stack-name string The stack name
--strategy string Override the default build strategy [valid options are 'codebuild', 'local', and 'legacy']
-t, --template-path string Path to template
-u, --use-container Run 'sam build' with the '--use-container' flag to build your function inside an AWS Lambda-like Docker container
Options inherited from parent commands
--non-interactive Skip user inputs
SEE ALSO
- stackery - Stackery command line tool