Generated CoudFormation templates & deploy stagger

I’ve noticed when using the following options that the generated child stacks do not all have DependsOn set.

  config.deploy.stagger.enabled = true
  config.deploy.stagger.batch_size = 1 

DependsOn is not set on the following child stacks

  • shared resource stacks
  • authorizer stacks

Is this intentional ?

We are experiencing frequent rate limits on CloudFormation

Rate exceeded (Aws::CloudFormation::Errors::Throttling)

Yes. DependsOn is only set on “app” stacks, mainly because it was simple to implement at that time. Will consider PRs. No sweat either way of course. :+1:

Also, wondering how big your shared resources and authorizer stacks are. Wondering what the limits currently are.