Creating and using private extensions
To enable the registry, we first need to understand the limits and nuances of registry resource handlers. In the previous chapter, we had our Lambda function run in a public network and connect to the RDS instance, also hosted on the public network, via a native Python MySQL driver.
In this chapter, we will follow a similar path.
Preparing database infrastructure
We will provision the same stack as used in the previous chapter. If you still have it running, feel free to skip this step:
$ aws cloudformation deploy \ --stack-name rds \ --template-file rds.yaml
When the RDS instance is provisioned and ready for use, we can leave it and move on to modeling our resource type.
Modeling resource types for the CloudFormation registry
CloudFormation requires extension developers to properly model the resource types. This is crucial for provisioning reliability and...