opentofu/terraform/test-fixtures/apply-ref-existing
Mitchell Hashimoto b7954a42fe
terraform: remove pruning of module vars if they ref non-existing nodes
Fixes a shadow graph error found during usage.

The new apply graph was only adding module variables that referenced
data that existed _in the graph_. This isn't a valid optimization since
the data it is referencing may be in the state with no diff, and
therefore available but not in the graph.

This just removes that optimization logic, which causes no failing
tests. It also adds a test that exposes the bug if we had the pruning
logic.
2016-11-04 17:47:20 -07:00
..
child terraform: remove pruning of module vars if they ref non-existing nodes 2016-11-04 17:47:20 -07:00
main.tf terraform: remove pruning of module vars if they ref non-existing nodes 2016-11-04 17:47:20 -07:00