Recently I ran into a few circular dependency problems when creating resources with AWS CloudFormation. While creating the stack AWS will throw a “Circular dependency between resources: [ ResourceA, Resource B, …]”. The error message is not very specific on where exactly this happened. The message can even set you on the wrong track while solving the problem.
Avoiding Circular Dependency Problems in AWS CloudFormation
