Creating Resources outside AWS Using Custom Resources
CloudFormation is usually the first infrastructure-as-code instrument to start supporting new AWS services; however, sometimes we need to communicate to services that don't support CloudFormation. Sometimes we even need to create resources outside of AWS.
CloudFormation recently started supporting external resource providers. Similar to Terraform's providers, you can develop your own provider to manage infrastructure for different cloud and manager service providers.
Since this is a brand new feature (released in November 2019), it's going to take a while for it to mature.
In this chapter, we will create external resources using custom resources—an easy way to create your own resources outside of AWS.
We will learn what they are and what their use cases are, and program our very first custom resource using AWS Lambda.
In this chapter, we will cover the following topics:
- Understanding...