terraform/states
Kristin Laemmert c4873778c8 Mildwonkey/tests (#24548)
* helper/resource: remove provider resolver test
* repl tests passing
* helper/resource: add some extra shimming to ShimLegacyState

Some of the tests in helper/resource have to shim between legacy and
modern states. Terraform expects modern states to have the Provider set
for each resource (and not be a legacy provider). This PR adds a wrapper
around terraform.ShimLegacyState which iterates through the resources
in the state (after the shim) and adds the provider FQN.
2020-04-06 09:24:23 -07:00
..
statefile Mildwonkey/tests (#24548) 2020-04-06 09:24:23 -07: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.go use addrs.ConfigResource for dependency tracking 2020-03-25 17:03:06 -04:00
instance_object_src.go use addrs.ConfigResource for dependency tracking 2020-03-25 17:03:06 -04: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.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
resource_test.go states: Fix TestResourceInstanceDeposeCurrentObject 2018-10-16 19:14:11 -07:00
state.go internal/getproviders: A new shared model for provider requirements 2020-03-27 09:01:32 -07:00
state_deepcopy.go use addrs.ConfigResource for dependency tracking 2020-03-25 17:03:06 -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 states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00
state_test.go use addrs.ConfigResource for dependency tracking 2020-03-25 17:03:06 -04:00
sync.go states.Resource needs to record its module too 2020-03-16 11:16:23 -04:00