-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] terramate create --all-terragrunt
error with nested stacks
#1774
Comments
terramate create --all-terragrunt
error with nested stacks
Thanks for reporting this. We will look at this and get back to you asap! |
Thanks! Can't share code to reproduce easily, sorry. |
Hey @ohmer can you check if the branch in this PR fixes the issue? I managed to reproduce it in parent-child case but maybe it's not the same case you are getting. To install the branch, you can do:
You can also export Let me know if it works. |
Awesome, will do ASAP! |
Looks better, but not a fix I believe. How I tested:
FYI
On the cyclic dependency:
Since |
Describe the bug
Terramate does not exclude implicit nested stacks from
after
field generating invalid stack dependency graph.To Reproduce
Steps to reproduce the behavior:
terramate create --all-terragrunt
. Terramate adds parent inafter
list instack.tm.hcl
terramate list --run-order
throwsInvalid stack configuration > cycle detected
Expected behavior
Produce a valid dependency graph exclucing parent stack from Terramate dependency graph since its implicit.
Log Output
Add logs from Terramate to help debug your problem.
Environment
14.5
2.45.2
0.9.0
Additional context
I love Terramate, happy to help! Thanks for putting such a great tool out there!
The text was updated successfully, but these errors were encountered: