opentofu/terraform/test-fixtures/transform-destroy-edge-module
Mitchell Hashimoto f6161a7dc9
terraform: destroy edge must include resources through outputs
This fixes: `TestContext2Apply_moduleDestroyOrder`

The new destroy graph wasn't properly creating edges that happened
_through_ an output, it was only created the edges for _direct_
dependents.

To fix this, the DestroyEdgeTransformer now creates the full transitive
list of destroy edges by walking all ancestors. This will create more
edges than are necessary but also will no longer miss resources through
an output.
2016-11-11 14:29:19 -08:00
..
child terraform: destroy edge must include resources through outputs 2016-11-11 14:29:19 -08:00
main.tf terraform: destroy edge must include resources through outputs 2016-11-11 14:29:19 -08:00