Commit Graph

59 Commits (f1db0fcf9bf4ebe523fff91302fbd080bca41603)

Author SHA1 Message Date
Mitchell Hashimoto 35afb7bc86
backend/consul: some comments
9 years ago
Mitchell Hashimoto b842fd0c27
backend/consul: support named states
9 years ago
Mitchell Hashimoto 3db55cf747
backend/consul: build your own backend
9 years ago
Mitchell Hashimoto 08b47cf73b
backend/atlas: adhere to new multi-state interface
9 years ago
Mitchell Hashimoto e6a87cf8de
backend/atlas: adhere to backend.CLI
9 years ago
Mitchell Hashimoto 942572b574
backend/init: add atlas, remove legacy atlas remote state
9 years ago
Mitchell Hashimoto d00d6bc7fe
backend/atlas: initial state working
9 years ago
Mitchell Hashimoto bdde7d845a Merge pull request #12347 from hashicorp/b-env-migrate
9 years ago
Mitchell Hashimoto 549d525487 Merge pull request #12320 from hashicorp/b-legacy-state
9 years ago
Mitchell Hashimoto e75b666591
command: test multi-state to single state
9 years ago
Mitchell Hashimoto 1d8b76c89d
command: initial work on migrating envs, basic cases first
9 years ago
Mitchell Hashimoto 6ea0dc0964
backend/consul: make address have a default to prevent input
9 years ago
James Bardin 4dac986a91 Local.StatePaths doesn't need to reutrn an error
9 years ago
James Bardin b53704ed87 Thread the environment through all commands
9 years ago
James Bardin f866bb545c update remote-state/consul
9 years ago
James Bardin 597eb6c918 update remote-state/inmem client
9 years ago
James Bardin 8fdf3a42b8 update remote-state.Backend
9 years ago
James Bardin 5762878eba Make backcend/legacy match new Backend iface
9 years ago
James Bardin 65527f35a4 update local.Local to match the latest Backend
9 years ago
James Bardin 96194fbc0d Update Backend interface to latest iteration
9 years ago
James Bardin 7f453f3341 remove some leftover methods in the legacy backend
9 years ago
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
10 years ago
Mitchell Hashimoto 5e4f6cf2b1
backend/local: fix could not to did not to prevent error look
10 years ago
Mitchell Hashimoto 65982bd412
backend/local: use new command/state package for better UX
10 years ago
James Bardin 80fab23e04 Don't test consul using demo.consul.io
10 years ago
James Bardin 14d965722e Use single state.LockInfo struct
10 years ago
James Bardin 9b76f6e138 Move TestRemoteLocks to state/remote
10 years ago
James Bardin 54cac349a3 Add state locking to consul backend
10 years ago