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:
stackery deploy -n my-stack -e production -r master
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 ".")
--codebuild-cli-version string Use a specific CLI version (or 'beta') in CodeBuild
--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 (deprecated) An interactive mode that will help walk you through any setup required to deploy your stack locally
--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