What is a circular dependency in AWS CloudFormation?
A.
When a Template references an earlier version of itself.
B.
When Nested Stacks depend on each other.
C.
When Resources form a DependOn loop.
D.
When a Template references a region, which references the original Template.
Explanation:
To resolve a dependency error, add a DependsOn attribute to resources that depend on other resources in your template.
In some cases, you must explicitly declare dependencies so that AWS CloudFormation can create or delete resources in
the correct order. For example, if you create an Elastic IP and a VPC with an Internet gateway in the same stack, the
Elastic IP must depend on the Internet gateway attachment. For additional information, see DependsOn Attribute.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errorsdependence-error
B makes sense.
B doesn’t make sense.
C is right.
Nested stacks are about basic/common components of your infrastructure/environment.
I am genuinely grateful to the owner of this web page who has shared this enormous piece of
writing at at this place.
B.
C is right
https://aws.amazon.com/premiumsupport/knowledge-center/unable-validate-circular-dependency-cloudformation/