terraform/backend
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
..
atlas state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
init Add kubernetes backend 2020-06-04 02:29:57 -04:00
local state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
remote state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
remote-state state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
backend.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
cli.go backend: Update interface and implementations for new config loader 2018-10-16 18:39:12 -07:00
nil.go Change backend.ValidateConfig to PrepareConfig 2019-02-25 18:37:20 -05:00
nil_test.go backend: introduce the backend set of interfaces 2017-01-26 14:33:49 -08:00
operation_type.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
operationtype_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
testing.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
unparsed_value.go Avoid leaking sensitive values in undeclared warnings 2019-11-05 17:32:57 -08:00
unparsed_value_test.go backend/local: Handle interactive prompts for variables in UI layer 2019-10-10 10:07:01 -07:00