Summary
In this chapter, we learned how to perform testing against CloudFormation stacks and what the best practices are for Continuous Delivery with CloudFormation.
We also created our very first pipeline using development services in AWS, such as CodeCommit, CodeBuild, and CodePipeline.
Although this pipeline is working and doing what it is supposed to do, there is always room for improvement. Ask yourself what you could add to the pipeline or change to make it more effective.
We should move the creation of the temporary stack from CodeBuild to CodePipeline as an extra stage so we can save some money since, in CodeBuild, you pay for build execution time. Simply put, while CodeBuild waits until the temporary stack has been created, the build job is being billed.
Another thing is that by using the same temporary stack name (core-tmp
), we are not able to run multiple builds at the same time. If another build runs while core-tmp
is being deleted by a previous build, we will...