What is a circular dependency in AWS CloudFormation?

What is a circular dependency in AWS CloudFormation?

the correct order. For example, if you create an Elastic IP and a VPC with an Internet gateway in the same stack, the http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors- dependence-error

What is a circular dependency in AWS CloudFormation?

the correct order. For example, if you create an Elastic IP and a VPC with an Internet gateway in the same stack, the http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors- dependence-error

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:
Explanation/Reference:
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
Elastic IP must depend on the Internet gateway attachment. For additional information, see DependsOn Attribute.



Leave a Reply 0

Your email address will not be published. Required fields are marked *