Summary
In this chapter, we learned about CRs, the most universal way to extend CloudFormation. We created our own CR backed by AWS Lambda, made it stable and secure, and also made it able to handle updates, deletions, and errors.
CRs are widely used to either create resources in AWS that are not yet supported by CloudFormation or create resources outside of AWS, whether they are other cloud platforms or your own platforms and systems running on EC2.
We covered CRs and provisioning logic and understood what actually happens under the hood. To get real hands-on experience with CRs, we developed our own CR, made it error-resistant, and added support for custom reason messages.
In the next chapter, we will learn about another and more modern way to manage resources outside CloudFormation, called private registries and resource types.