Continuous Integration and Deployment
We know how to build our templates, and we know how to make sure they are valid and how to deploy them. Now it is time to apply another block of DevOps, called Continuous Delivery (CD). CD is used to test our applications against real-life scenarios and deploy them seamlessly so that the end user notices the changes once they refresh the page. This means no downtime and no the page is under maintenance messages.
In Infrastructure as Code (IaC), you treat your infrastructure and resources as a computer application. Although you cannot perform unit tests against your templates, you still have various options for how to run a proper CD pipeline.
In this chapter, we will learn how to include our templates in our applications. We will also learn how we can test our stacks and how we can apply Amazon Web Services CloudFormation (AWS CloudFormation) within our CD practices. By the end of this chapter, we will be able to apply a CI/CD pipeline with...