Open benbridts opened 5 years ago
Hi all,
Are there any updates or any estimation when this will be implemented? Having this feature adds massive value to our ability to use StackSets with AWS Organizations for governance at scale.
Thank you!
CloudFormation released support for StackSet 3 days ago - https://aws.amazon.com/about-aws/whats-new/2020/09/aws-cloudformation-now-supports-stacksets-resource-type-in-the-cloudformation-registry/
This is awesome!
That unfortunately does not allow you to add a stack instance to an existing ~stack~ stack set :(
@ikben what do you mean?
@ikben It's not stated (probably documentation not updated) but you can import existing stack set. There is however other big limitation: https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation/blob/master/aws-cloudformation-stackset/src/main/java/software/amazon/cloudformation/stackset/util/Validator.java#L20 you can not deploy StackSet with nesteed stacks with this solution.
I created an issue for that https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation/issues/16
Sorry, I forgot a word. The current resources do not allow you to create a Stack Instance in an existing Stack Set.
Or in other words: You cannot create the StackSet in one template/stack and have another template/stack create a StackInstance in that StackSet.
You would run into this if you want to deploy from an account-centric standpoint instead of a stack-set-centric one. In the account-centric approach, you could have one stack per account, that registers a Stack Instance in all the relevant Stack Sets (which allows you to determine the order of the StackSets)