CmdID / aws / aws cloudformation
aws cloudformation deploy
Deploys the specified AWS CloudFormation template by creating and then executing a change set. AWS CLI reference
16 options Its page in the AWS CLI reference
Options
--capabilitiesA list of capabilities that you must specify before AWS Cloudformation can create certain stacks.--disable-rollbackPreserve the state of previously provisioned resources when the execute-change-set operation fails.--fail-on-empty-changesetSpecify if the CLI should return a non-zero exit code when there are no changes to be made to the stack.--force-uploadIndicates whether to override existing files in the S3 bucket.--kms-key-idThe ID of an AWS KMS key that the command uses to encrypt artifacts that are at rest in the S3 bucket.--no-disable-rollbackRoll back all resource changes when the execute-change-set operation fails.--no-execute-changesetIndicates whether to execute the change set.--no-fail-on-empty-changesetCauses the CLI to return an exit code of 0 if there are no changes to be made to the stack.--notification-arnsAmazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack.--parameter-overridesA list of parameter structures that specify input parameters for your stack template.--role-arnThe Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing the change set.--s3-bucketThe name of the S3 bucket where this command uploads your CloudFormation template.--s3-prefixA prefix name that the command adds to the artifacts' name when it uploads them to the S3 bucket.--stack-nameThe name of the AWS CloudFormation stack you're deploying to.--tagsA list of tags to associate with the stack that is created or updated.--template-fileThe path where your AWS CloudFormation template is located.