From the course: DevOps with AWS: Tools for Automated Workflows

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

CodePipeline integration with CloudFormation

CodePipeline integration with CloudFormation

- [Instructor] Now let's talk about using CloudFormation as a target for CodePipeline. So CloudFormation is a deploy action, and it can be used to deploy any kind of AWS resources, for example, Lambda functions either as pure CloudFormation or using the CDK framework or using SAM. So idea is that from CodePipeline, you have your code in code repository. The code could be directly the template itself. You can create a change set of CloudFormation, then a manual approval to make sure that the change set is what we want it to be. And then execute the change sets. This is one option. You can just go ahead and also deploy things directly without using a manual approval. So on top of supporting CloudFormation in one region, you support CloudFormation StackSets to deploy across multiple AWS accounts and multiple regions. You can also configure multiple settings, such as the stack name, change set name, template input, parameters if you want to override them, IAM role, action mode, and so on.…

Contents