-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS::CloudFormation::StackInstance - New Resource #103
Comments
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 |
@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 aws-cloudformation/aws-cloudformation-resource-providers-cloudformation#16 |
Sorry, I forgot a word. 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) |
The API allows creating mulitple stack instances at the same time. This may be a possible way to do it, but I think that having one Resource per Instance makes more sense in a CloudFormation template.
The text was updated successfully, but these errors were encountered: