opentofu/states
Kristin Laemmert ed1aebbeda
terraform: large refactor to use Provider from configs.Resource (#24396)
* terraform: large refactor to use Provider from configs.Resource

configs.Resource.ImpliedProvider() now returns a string; it is the
callers' responsibility to turn that into an addrs.Provider if needed.

GraphNodeProviderConsumer ProvidedBy() no longer returns nil (reverting
to earlier, pre-provider-fqn behavior): it will return either the
provider set in config, provider set in state, or the default provider.
2020-03-18 08:58:20 -04:00
..
statefile terraform: large refactor to use Provider from configs.Resource (#24396) 2020-03-18 08:58:20 -04:00
statemgr terraform: large refactor to use Provider from configs.Resource (#24396) 2020-03-18 08:58:20 -04:00
doc.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
eachmode_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
instance_generation.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
instance_object_src.go add CreateBeforeDestroy to state 2020-02-13 21:04:56 -05:00
instance_object.go add CreateBeforeDestroy to state 2020-02-13 21:04:56 -05:00
module.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
objectstatus_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
output_value.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
resource_test.go states: Fix TestResourceInstanceDeposeCurrentObject 2018-10-16 19:14:11 -07:00
resource.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
state_deepcopy.go add CreateBeforeDestroy to state 2020-02-13 21:04:56 -05:00
state_equal.go states: New package with modern models for Terraform state 2018-10-16 18:49:20 -07:00
state_string.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
state_test.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
state.go update MaybeFixUpResourceInstanceAddressForCount 2020-03-16 11:16:23 -04:00
sync.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00