terraform/addrs
Alisdair McDiarmid b233aa39e9 addrs: Simplify presentation of provider FQNs
The provider fully-qualified name string used in configuration is very
long, and since most providers are hosted in the public registry, most
of that length is redundant. This commit adds and uses a `ForDisplay`
method, which simplifies the presentation of provider FQNs.

If the hostname is the default hostname, we now display only the
namespace and type. This is only used in UI, but should still be
unambiguous, as it matches the FQN string parsing behaviour.
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: Simplify presentation of provider FQNs 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: Simplify presentation of provider FQNs 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