Commit Graph

338 Commits (eac87798708e714fd3a7e2ae496bddc021a32fa0)

Author SHA1 Message Date
James Bardin fbc11c7961 fix incorrect current state in local backend
9 years ago
James Bardin e6eb71dde5 Add tests to check Backend delegation
9 years ago
James Bardin 0933541a8c Split out the backend environment interface
9 years ago
James Bardin dbc45b907c Make the Local backend handle its own named states
9 years ago
James Bardin 761c63d14a Update Backend to incorporate environments
9 years ago
Mitchell Hashimoto 3cedfa00f4
command: use backend.CLIIinit
9 years ago
Mitchell Hashimoto 8f11068ab2 Merge pull request #12173 from hashicorp/b-remote-state-ds
9 years ago
Mitchell Hashimoto d2d87bccf0 Merge pull request #12155 from hashicorp/b-state-backend
9 years ago
Mitchell Hashimoto 9574f16f92
backend/local: refresh with no config should not crash on input
9 years ago
Mitchell Hashimoto ebb22d3ecd
backend/local: don't RefreshState on State API
9 years ago
Mitchell Hashimoto 52720ce880
providers/terraform: data source uses backends for state loading
9 years ago
Mitchell Hashimoto f79e04500f
backend/init: a package for storing the factories for backends
9 years ago
James Bardin 2392455a67 Add inmem remote backend
9 years ago
Mitchell Hashimoto d443bf1b56
backend/local: allow nil modules (no config) if executing a plan
9 years ago
Mitchell Hashimoto 1480d0c5b8
backend/local: check for empty config on apply
9 years ago
Mitchell Hashimoto efe754183b
state/remote: export ClientLocker, test for implementation
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin 67bbebce08 Have consul state reutrn the lock ID
9 years ago
James Bardin f2e496a14c Have backend operations properly unlock state
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin cd233fef6a make consul client pass state.Locker tests
9 years ago
James Bardin 67dc16c9ca Make backend/local test pass
9 years ago
Mitchell Hashimoto 235b7eb38e Merge pull request #11944 from hashicorp/f-state-slow
9 years ago
Mitchell Hashimoto 5e4f6cf2b1
backend/local: fix could not to did not to prevent error look
9 years ago
Mitchell Hashimoto 65982bd412
backend/local: use new command/state package for better UX
9 years ago
James Bardin 80fab23e04 Don't test consul using demo.consul.io
9 years ago
James Bardin 14d965722e Use single state.LockInfo struct
9 years ago
James Bardin 9b76f6e138 Move TestRemoteLocks to state/remote
9 years ago
James Bardin 54cac349a3 Add state locking to consul backend
9 years ago
Mitchell Hashimoto bdca9bffe4
backend/local: output warnings
9 years ago
James Bardin 0d7752b0f5 Update runningOp.Err with State.Unlock error
9 years ago
James Bardin 9cdba1f199 enable local state locking for apply
9 years ago
Mitchell Hashimoto a424203ea3
backend/local: validate module exists for plan
9 years ago
Mitchell Hashimoto 31f7cca77f
backend/local: fix crash (in tests) due to not guarding nil CLI
9 years ago
Mitchell Hashimoto 1f5d425428
backend/remote-state
9 years ago
Mitchell Hashimoto 13c34b16e8
backend/legacy
9 years ago
Mitchell Hashimoto 397e1b3132
backend/local
9 years ago
Mitchell Hashimoto 8a070ddef0
backend: introduce the backend set of interfaces
9 years ago