You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/data/changelog/v1.0.4/stack-dependencies.mdx
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
version: "v1.0.3"
2
+
version: "v1.0.4"
3
3
category: "experiments-updated"
4
4
---
5
5
@@ -36,21 +36,19 @@ unit "app" {
36
36
}
37
37
```
38
38
39
-
Nested stacks with `no_dot_terragrunt_stack = true` are also handled correctly, resolving to the stack's own directory rather than under `.terragrunt-stack/`.
40
-
41
39
**Discovery commands surface stack dependencies**
42
40
43
41
The `terragrunt find` and `terragrunt list` discovery commands now reflect stack dependencies generated by the `autoinclude` block. The DAG output correctly orders units by their autoinclude dependencies and shows dependency relationships in JSON, tree, and long formats.
44
42
45
43
```bash
46
44
# JSON output includes dependency relationships from autoinclude
terragrunt list --long --dependencies --dag --experiment stack-dependencies
48
+
$ terragrunt list --long --dependencies --dag --experiment stack-dependencies
51
49
52
50
# Tree format visualizes the dependency hierarchy
53
-
terragrunt list --tree --dag --experiment stack-dependencies
51
+
$ terragrunt list --tree --dag --experiment stack-dependencies
54
52
```
55
53
56
54
Multi-level dependency trees (for example, `A → B,C` where `B → D,E`) are ordered correctly in DAG mode: leaf units appear first, parents appear after all their dependencies.
0 commit comments