terraform/states
Kristin Laemmert 58bcc2e9bb
addrs: detect builtin provider when parsing legacy provider string (#25154)
* addrs: detect builtin provider when parsing legacy provider string

The ParseLegacyAbsProviderConfig was not detecting builtin providers
("terraform"), which caused issues for all users with 0.12 state and
the "terraform_remote_state" data source. Since "terraform" is the only
built-in provider this adds a very simple check to the parser so it
properly returns the builtin FQN.

* add tests to the addrs package
2020-06-08 08:27:36 -04:00
..
statefile addrs: detect builtin provider when parsing legacy provider string (#25154) 2020-06-08 08:27:36 -04:00
statemgr remove a few traces of states.EachMode 2020-04-30 09:22:15 -04:00
doc.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_generation.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_object.go remove unused depends_on field and add test 2020-05-14 15:46:08 -04:00
instance_object_src.go remove unused depends_on field and add test 2020-05-14 15:46:08 -04:00
module.go remove EachMode from resource state 2020-04-30 09:22:14 -04:00
objectstatus_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
output_value.go add AbsOutputAddrs to state outputs 2020-04-13 16:37:59 -04:00
resource.go remove EachMode from resource state 2020-04-30 09:22:14 -04:00
resource_test.go states: Fix TestResourceInstanceDeposeCurrentObject 2018-10-16 19:14:11 -07:00
state.go Add ModuleOutputs method to states 2020-04-13 17:59:09 -04:00
state_deepcopy.go remove unused depends_on field and add test 2020-05-14 15:46:08 -04:00
state_equal.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
state_string.go remove extra brackets in state string output 2020-04-09 15:36:16 -04:00
state_test.go remove EachMode from resource state 2020-04-30 09:22:14 -04:00
sync.go remove EachMode from resource state 2020-04-30 09:22:14 -04:00