opentofu/addrs
Martin Atkins cd51864d84 configs: Start using the new "addrs" package types for modules
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.
2018-10-16 18:44:26 -07:00
..
count_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
doc.go addrs: new package for representing addresses 2018-10-16 18:44:26 -07:00
input_variable.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
instance_key.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
local_value.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
module_call.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
module_instance.go configs: Start using the new "addrs" package types for modules 2018-10-16 18:44:26 -07:00
module.go configs: Start using the new "addrs" package types for modules 2018-10-16 18:44:26 -07:00
parse_ref_test.go addrs: ParseRef function, for parsing references in expressions 2018-10-16 18:44:26 -07:00
parse_ref.go addrs: ParseRef function, for parsing references in expressions 2018-10-16 18:44:26 -07:00
path_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
provider_config.go addrs: new package for representing addresses 2018-10-16 18:44:26 -07:00
referenceable.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
resource.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
resourcemode_string.go addrs: new package for representing addresses 2018-10-16 18:44:26 -07:00
self.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
terraform_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00