❓ General Issue
The Question
After adding around 14 stacks (25 counting nested stacks) to a single Pipeline Application (Stage) the pipeline references 27 assets and the template grows above CloudFormation's 460,800 bytes limit, blocking the pipeline and making it unusable.
Is there a way to avoid this by compressing the generated template or by splitting it somehow? I'm facing this on a staging stage and production is way bigger
My suspicion is that the assets make the template grow too fast as each of them generates a build action with the whole chain of roles, policies, etc.
Environment
- CLI Version : 1.51.0 (build 8c2d53c)
- Framework Version: 1.51.0 (build 8c2d53c)
- Node.js Version: v12.18.0
- OS : aws/codebuild/standard:4.0
- Language (Version): TypeScript (3.9.5)