terraform/states
Kristin Laemmert 6621501ae3
state: remove deprecated state package (#25490)
Most of the state package has been deprecated by the states package.
This PR replaces all the references to the old state package that
can be done simply - the low-hanging fruit.

* states: move state.Locker to statemgr

The state.Locker interface was a wrapper around a statemgr.Full, so
moving this was relatively straightforward.

* command: remove unnecessary use of state package for writing local terraform state files

* move state.LocalState into terraform package

state.LocalState is responsible for managing terraform.States, so it
made sense (to me) to move it into the terraform package.

* slight change of heart: move state.LocalState into clistate instead of
terraform
2020-08-11 11:43:01 -04:00
..
remote state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
statefile addrs: detect builtin provider when parsing legacy provider string (#25154) 2020-06-08 08:27:36 -04:00
statemgr state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -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