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
/redacted/app/node_modules/constructs/src/construct.ts:428
throw new Error(`There is already a Construct with name '${childName}' in ${typeName}${name.length > 0 ? ' [' + name + ']' : ''}`);
^
Error: There is already a Construct with name 'StackSetAssetsBucketDeployment' in TestStack [TestStack]
at Node.addChild (/redacted/app/node_modules/constructs/src/construct.ts:428:13)
at new Node (/redacted/app/node_modules/constructs/src/construct.ts:71:17)
at new Construct (/redacted/app/node_modules/constructs/src/construct.ts:480:17)
at new BucketDeployment (/redacted/app/node_modules/aws-cdk-lib/aws-s3-deployment/lib/bucket-deployment.js:1:803)
at StackSetStackSynthesizer.addFileAsset (/redacted/app/node_modules/cdk-stacksets/src/stackset-stack.ts:59:32)
at new Asset (/redacted/app/node_modules/aws-cdk-lib/aws-s3-assets/lib/asset.js:1:1207)
at AssetCode.bind (/redacted/app/node_modules/aws-cdk-lib/aws-lambda/lib/code.js:1:4628)
at new Function (/redacted/app/node_modules/aws-cdk-lib/aws-lambda/lib/function.js:1:7510)
at new NodejsFunction (/redacted/app/node_modules/aws-cdk-lib/aws-lambda-nodejs/lib/function.js:1:1215)
at new TestStack (/redacted/app/src/Stacks/TestStack.ts:38:5)
If I use one parent stack per StackSet it works of course. I'm doing something wrong or is that at the moment a limitation from this construct?
The text was updated successfully, but these errors were encountered:
I want to create multiple StackSets in one Stack. I tried to deploy the following CDK Stack:
CDK Stack
Error
If I use one parent stack per StackSet it works of course. I'm doing something wrong or is that at the moment a limitation from this construct?
The text was updated successfully, but these errors were encountered: