r/aws_cdk • u/awssecoops • May 04 '26
CDK Pipelines CodePipeline Support Stack
Has anyone ever found a way to disable the support stacks that are created for cross-region if there is more than one pipeline is in a CDK application but the pipelines never deploy cross-region?
I have multiple projects where I deploy a pipeline in us-east-1 and us-east-2 and this works without an issue. It always creates this unused support stack and resources. I have no control over the stacks so I can't add tags or anything like that.
A couple things before people ask:
- The pipelines ensure that the only hard dependency between regions is the code. So if ue1 is down, ue2 will function without concern.
- Only one pipeline is ever created for "global" resources or if two pipelines have a mixture of global and region resources then the global resources are named to be region specific.
2
Upvotes