mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
We initially just mimicked our old practice of using []string for module paths here, but the addrs package now gives us a pair of types that better capture the two different kinds of module addresses we are dealing with: static addresses (nodes in the configuration tree) and dynamic/instance addresses (which can represent the situation where multiple instances are created from a single module call). This distinction still remains rather artificial since we don't yet have support for count or for_each on module calls, but this is intended to lay the foundations for that to be added later, and in the mean time just gives us some handy helper functions for parsing and formatting these address types. |
||
---|---|---|
.. | ||
count_attr.go | ||
doc.go | ||
input_variable.go | ||
instance_key.go | ||
local_value.go | ||
module_call.go | ||
module_instance.go | ||
module.go | ||
parse_ref_test.go | ||
parse_ref.go | ||
path_attr.go | ||
provider_config.go | ||
referenceable.go | ||
resource.go | ||
resourcemode_string.go | ||
self.go | ||
terraform_attr.go |