terraform/addrs
Martin Atkins 8744f0e8b8 addrs: Reserve "template" and similar prefixes for future expansion
At the time of this commit we have a proposal #28700 which would, if
accepted, need to reserve a new reference prefix to represent template
arguments.

It seems unlikely that the proposal would be accepted and implemented
before Terraform v1.0 creates additional compatibility constraints, and so
this pre-emptively reserves a few candidate symbol names to allow
something like that proposal to potentially move forward later without
requiring a new opt-in language edition.

If we do move forward with the proposal then we'll select one of these
three reserved names depending on which form of the proposal we decide
to move forward with, and then un-reserve the other two. If we decide to
not pursue this proposal at all then we'll un-reserve all three once
that decision is finalized.

It's unlikely that there is any existing provider which has a resource
type named either "template", "lazy", or "arg", but in that unlikely event
users of that provider can keep using it by adding the "resource."
escaping prefix, such as changing "lazy.foo.bar" into
"resource.lazy.foo.bar".
2021-05-17 11:17:25 -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
for_each_attr.go Resource for_each 2019-07-22 10:51:16 -04:00
input_variable.go Module Expansion: Part 2 (#24154) 2020-02-24 17:42:32 -05:00
instance_key.go Add InstanceKey.Value method 2020-02-19 16:02:40 -05:00
local_value.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 2018-10-16 18:44:26 -07:00
module.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
module_call.go Update addrs/module_call.go 2020-04-10 14:45:36 -04:00
module_instance.go Improve ModuleInstance String() performance (#28246) 2021-04-05 08:44:27 -04:00
module_instance_test.go Improve ModuleInstance String() performance (#28246) 2021-04-05 08:44:27 -04:00
module_test.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
output_value.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
output_value_test.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
parse_ref.go addrs: Reserve "template" and similar prefixes for future expansion 2021-05-17 11:17:25 -07:00
parse_ref_test.go addrs: Reserve "template" and similar prefixes for future expansion 2021-05-17 11:17:25 -07:00
parse_target.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
parse_target_test.go implement addrs.ConfigResource 2020-03-12 15:58:25 -04:00
path_attr.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
provider.go addrs: Fix LegacyString for builtin provider addrs 2020-08-14 14:56:35 -04:00
provider_config.go addrs: detect builtin provider when parsing legacy provider string (#25154) 2020-06-08 08:27:36 -04:00
provider_config_test.go remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00
provider_test.go addrs: Fix LegacyString for builtin provider addrs 2020-08-14 14:56:35 -04:00
referenceable.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
resource.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
resource_phase.go core: Produce correct references for destroy nodes 2018-10-16 18:49:20 -07:00
resource_test.go core: Reduce string allocations for addrs Equal 2021-03-05 13:23:32 -05:00
resourcemode_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
self.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
target_test.go unkeyed target ModulesInstance can be Modules 2020-06-09 21:58:58 -04:00
targetable.go addrs: flesh out functionality ready to replace terraform.ResourceAddress 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