Deploying a large architecture in 1 file is not reasonable. Because CDK operates based on CloudFormation, we can completely use nested stacks to break down the overall stack into many different smaller stacks, helping to facilitate the management of resources.
In the final part of this advanced CDK lab, we will break down the template created in the previous part into smaller templates with distinct responsibilities. Specifically, we will split it into 3 templates:
