Cdk stacksets construct

1

I am attempting to build a stack set using Cdk. Is there a construct like stack or nested stack for stacksets?

Awsdev
asked 10 months ago339 views
3 Answers
4
Accepted Answer

Unfortunately the answer is no. In CDK, there is not a construct for stacksets. I've seen this has been requested as an enhancement. I did find documentation on cloudformation stack sets which may be helpful: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudformation.CfnStackSet.html

profile picture
answered 10 months ago
profile picture
EXPERT
reviewed a month ago
0

Question, Why do you need a stackset? and why do you need a nested stack? Trying to understand the use-case.

AWS
Bahram
answered 10 months ago
  • I'm not OP, but if you have a multi-tenant application and want to deploy the same resources to multiple accounts StackSets can be a good fit. If those resources are getting too large, nested StackSets could helps (which doesn't exists afaik).

0

There's a library for it now, currently in experimental status: https://github.com/cdklabs/cdk-stacksets

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions