mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
6bbfbab93e
Prior to the introduction of our "addrs" package, we represented destroy nodes as a special kind of address string ending in ".destroy" or ".destroy-cbd". Using references to resolve these dependencies is a strange idea to begin with, since these are not user-visible addresses, but rather than refactor that now we instead have these weird pseudo-address types ResourcePhase and ResourceInstancePhase that correspond go those weird address suffixes, thus restoring the prior behavior. In future we should rework this so that destroy node edges are not handled as references at all, and instead handled as part of DestroyEdgeTransformer where there's better context for implementing this logic and it can be maintained and tested in a single place. |
||
---|---|---|
.. | ||
count_attr.go | ||
doc.go | ||
input_variable.go | ||
instance_key.go | ||
local_value.go | ||
module_call.go | ||
module_instance.go | ||
module.go | ||
output_value.go | ||
parse_ref_test.go | ||
parse_ref.go | ||
parse_target_test.go | ||
parse_target.go | ||
path_attr.go | ||
provider_config_test.go | ||
provider_config.go | ||
referenceable.go | ||
resource_phase.go | ||
resource.go | ||
resourcemode_string.go | ||
self.go | ||
targetable.go | ||
terraform_attr.go |