pipeline: should allow crossRegionReplicationBuckets passthrough to underlying CodePipeline construct #28446
Closed
1 of 2 tasks
Labels
@aws-cdk/pipelines
CDK Pipelines library
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
When deploying large numbers of CdkPipelines, we consume a lot of S3 buckets. There is already a way to reuse the artifact buckets across multiple CdkPipelines. We would like to also reuse the cross region replication buckets. To do this, we need to pass through the crossRegionReplicationBuckets property from the Pipeline object to the internal CodePipeline object.
Use Case
There's a hard limit of 1000 S3 buckets per account. Our CdkPipelines deployer account supports pipelines from roughly 130 repos at this time and recently crossed the 900 bucket line. We need to be able to keep scaling out.
Proposed Solution
Pass the
crossRegionReplicationBuckets
through, same has howreuseCrossRegionSupportStacks
is passed through:https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline.ts#L458
Other Information
No response
Acknowledgements
CDK version used
2.115.0
Environment details (OS name and version, etc.)
irrelevant
The text was updated successfully, but these errors were encountered: