Sceptre / sceptre

Build better AWS infrastructure
https://docs.sceptre-project.org
Other
1.49k stars 313 forks source link

Cyclic dependencies should result in a clearer error message #1446

Closed alex-harvey-z3q closed 8 months ago

alex-harvey-z3q commented 9 months ago

Subject of the issue

When a cyclical dependency is detected in the dependency graph, a slightly unclear error message appears like:

sceptre.exceptions.CircularDependenciesError: Dependency cycle detected: configmap-lambda eks-securitygroups                                                                                          

It would be better if Sceptre behaved more like Terraform here and displayed the edges from the graph to make it clearer as to the path of the circular dependency in the graph.

Your environment