mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
ensure checks are reported before executed (#32925)
This commit is contained in:
parent
9d93415d4c
commit
5f97f88025
@ -66,6 +66,10 @@ func (t *checkTransformer) transform(g *Graph, cfg *configs.Config, allNodes []d
|
||||
}
|
||||
g.Add(report)
|
||||
|
||||
// Make sure we report our checks before we start executing the
|
||||
// actual checks.
|
||||
g.Connect(dag.BasicEdge(expand, report))
|
||||
|
||||
// This part ensures we report our checks before our nested data
|
||||
// block executes and attempts to report on a check.
|
||||
for _, other := range allNodes {
|
||||
|
Loading…
Reference in New Issue
Block a user