Open atfurman opened 1 year ago
Hi @atfurman , thank you for creating this issue! The runOrder
property does not currently exist on the CloudFormationStackSetConfig object, only on CloudFormationStackConfig
.
This is due to the fact that while we can reliably enforce the creation order of each StackSet resource, we cannot guarantee the ordering of the stack instances created by the StackSets.
Are you able to perform this deployment using cloudFormationStacks
rather than cloudFormationStackSets
? This would allow you to use the runOrder
property, and may eliminate the need altogether as you will not need to wait for v.1.3.1 to deploy templates larger than 51200 bytes.
Hi @erwaxler after discussion with @rgd11 we have pursued a solution outside of LZA for the interim. As LZA does not fully manage cloudformation stacks (does not support deleting stacks, for instance) we did not want to get into a situation where we have to manually clean up a large number of stacks created by LZA across the organization. We will wait until larger templates are supported before trying to use LZA to accomplish this.
@atfurman I'm pleased to say that we can now support this feature thanks to the work in this pull request: https://github.com/awslabs/landing-zone-accelerator-on-aws/pull/575
I'll be reopening this issue for visibility, I will close the issue once v1.10.0 which includes this functionality is available publicly.
Thanks again for your support of the Landing Zone Accelerator!
Awesome, thanks!
Describe the bug As a result of https://github.com/awslabs/landing-zone-accelerator-on-aws/issues/51 we have refactored some of our stackSets out into multiple templates. As there are now run order dependencies for these templates we attempted to enforce run order in the following way:
However, when deploying this configuration, the following error was encountered:
This error should not occur if
runOrder
is working as expected, sincecloudformation/atom-aws-alerts-infrastructure.yaml
sets this parameter and has arunOrder
of 1, whilecloudformation/atom-ssm-cw-fips.yaml
has arunOrder
of 2.Interrogating
AWSAccelerator-CustomizationsStack-
in the CloudFormation console indicates that all stackSet creations were initiated at the same time:Expected behavior I would expect for the Accelerator to respect
runOrder
arguments when deploying stackSets.Please complete the following information about the solution: