AWS Infrastructure as Code (IaC) allows managing, modeling, and provisioning infrastructure at scale using AWS CloudFormation, AWS Cloud Development Kit (CDK), or Application Composer. Recently, AWS introduced the IaC generator and CDK Migrate to streamline the process of importing existing resources into CloudFormation.
The IaC generator scans an AWS account to create an inventory of resources and their relationships, allowing users to generate CloudFormation templates for entire applications or individual resources. This feature simplifies the management of existing resources and extends the benefits of IaC to non-IaC resources.