aws-solutions / aws-control-tower-customizations

The Customizations for AWS Control Tower solution combines AWS Control Tower and other highly-available, trusted AWS services to help customers more quickly set up a secure, multi-account AWS environment using AWS best practices.
https://docs.aws.amazon.com/controltower/latest/userguide/cfct-overview.html
Apache License 2.0
354 stars 205 forks source link

Stacksets concurrency #177

Open bdesika-aws opened 8 months ago

bdesika-aws commented 8 months ago

Is your feature request related to a problem? Please describe. Customer has over 800 accounts and 50+ customizations. Currently the stacksets execute in a sequence and that it takes almost 5-6 hours for the pipeline to complete. If there are several template updates it takes more than a day as well.

Describe the feature you'd like We fixed several issues to improve but we would like to suggest a feature to execute multiple stackets in parallel if there are no dependencies.

Additional context For example, say if there are 3 customizations in the manifest 1) Create SSM parameter 2) VPC creation 3) A IAM role deployment. #2 has dependency with #1, however #3 does not have any dependencies with either #1 or #2. So the ask is that while SSM and VPC stackets can execute in sequence, #3 can start in parallel with #1. On a large scale of customizations this feature would improve the performance significantly.