terraform/backend/remote-state
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
..
artifactory state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
azure state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
consul state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
cos state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
etcdv2 state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
etcdv3 state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
gcs state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
http state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
inmem state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
kubernetes state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
manta state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
oss state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
pg state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
s3 state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
swift state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00