You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(codepipeline): add ability to not reuse cross-region support Stacks (#18043)
This provides the change proposed in feature request #18018 by adding the new flag.
closes#18018
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
test('generates the same support stack containing the replication Bucket without the need to bootstrap in that environment for multiple pipelines',()=>{
test('generates the unique support stack containing the replication Bucket without the need to bootstrap in that environment for multiple pipelines',()=>{
test('CodePipeline generates the same support stack containing the replication Bucket without the need to bootstrap in that environment for multiple pipelines',()=>{
25
+
newReuseCodePipelineStack(app,'PipelineStackA',{
26
+
env: PIPELINE_ENV,
27
+
});
28
+
newReuseCodePipelineStack(app,'PipelineStackB',{
29
+
env: PIPELINE_ENV,
30
+
});
31
+
constassembly=app.synth();
32
+
// 2 Pipeline Stacks and 1 support stack for both pipeline stacks.
test('CodePipeline generates the unique support stack containing the replication Bucket without the need to bootstrap in that environment for multiple pipelines',()=>{
41
+
newReuseCodePipelineStack(app,'PipelineStackA',{
42
+
env: PIPELINE_ENV,
43
+
reuseCrossRegionSupportStacks: false,
44
+
});
45
+
newReuseCodePipelineStack(app,'PipelineStackB',{
46
+
env: PIPELINE_ENV,
47
+
reuseCrossRegionSupportStacks: false,
48
+
});
49
+
constassembly=app.synth();
50
+
// 2 Pipeline Stacks and 1 support stack for each pipeline stack.
0 commit comments