terraform/addrs
Martin Atkins 5aa2e5ec8c addrs: "built-in" provider namespace
The introduction of a heirarchical addressing scheme for providers gives
us an opportunity to make more explicit the special case of "built-in"
providers.

Thus far we've just had a special case in the "command" package that the
provider named "terraform" is handled differently than all others, though
there's nothing especially obvious about that in the UI.

Moving forward we'll put such "built-in" providers under the special
namespace terraform.io/builtin/terraform, which will be visible in the UI
as being different than the other providers and we can use the namespace
itself (rather than a particular name) as the trigger for our special-case
behaviors around built-in plugins.

We have no plans to introduce any built-in providers other than
"terraform" in the foreseeable future, so any others will produce an
error.

This commit just establishes the addressing convention, without making use
of it anywhere yet. Subsequent commits will make the provider installer
and resolver codepaths aware of it, replacing existing checks for the
provider just being called "terraform".
2020-04-06 09:24:23 -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 Missing ConfigResource checks in TargetContains 2020-03-13 19:01:23 -04:00
module_call.go Create non-specific ModuleCallOutput 2020-03-26 13:29:38 -04:00
module_instance.go Missing ConfigResource checks in TargetContains 2020-03-13 19:01:23 -04:00
output_value.go Create non-specific ModuleCallOutput 2020-03-26 13:29:38 -04:00
parse_ref.go Create non-specific ModuleCallOutput 2020-03-26 13:29:38 -04:00
parse_ref_test.go Create non-specific ModuleCallOutput 2020-03-26 13:29:38 -04: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: "built-in" provider namespace 2020-04-06 09:24:23 -07:00
provider_config.go AbsProviderConfig to use addrs.Module 2020-03-10 20:25:44 -04:00
provider_config_test.go AbsProviderConfig to use addrs.Module 2020-03-10 20:25:44 -04:00
provider_test.go addrs: "built-in" provider namespace 2020-04-06 09:24:23 -07:00
referenceable.go addrs: All Referenceable implementations support String() 2018-10-16 18:44:26 -07:00
resource.go terraform: large refactor to use Provider from configs.Resource (#24396) 2020-03-18 08:58:20 -04:00
resource_phase.go core: Produce correct references for destroy nodes 2018-10-16 18:49:20 -07: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 Missing ConfigResource checks in TargetContains 2020-03-13 19:01:23 -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