AWS CodePipline Actions for AWS CloudFormation
This module contains Actions that allows you to deploy to AWS CloudFormation from AWS CodePipeline.
For example, the following code fragment defines a pipeline that automatically deploys a CloudFormation template directly from a CodeCommit repository, with a manual approval step in between to confirm the changes:
example Pipeline to deploy CloudFormation
See the AWS documentation for more details about using CloudFormation in CodePipeline.
Actions defined by this package
This package defines the following actions:
-
CreateUpdateStack - Deploy a CloudFormation template directly from the pipeline. The indicated stack is created,
or updated if it already exists. If the stack is in a failure state, deployment will fail (unless
replaceOnFailure
is set totrue
, in which case it will be destroyed and recreated). - DeleteStackOnly - Delete the stack with the given name.
- CreateReplaceChangeSet - Prepare a change set to be applied later. You will typically use change sets if you want to manually verify the changes that are being staged, or if you want to separate the people (or system) preparing the changes from the people (or system) applying the changes.
- ExecuteChangeSet - Execute a change set prepared previously.