Commit Graph

54 Commits (f-debugger)

Author SHA1 Message Date
James Bardin 2635b3b023 update remote state to use legacy types
6 years ago
Rémi Lapeyre 5c7008bd89 Merge remote-tracking branch 'origin/master' into consul-force-unlock
6 years ago
Alisdair McDiarmid e183163739
Merge pull request #25856 from remilapeyre/consul-split-state
6 years ago
Rémi Lapeyre e680211bc0 Split the state in chunks when they outgrow the limit of Consul KV store
6 years ago
Rémi Lapeyre 032d339915 Sanitize lock path for the Consul backend when it ends with a /
6 years ago
Rémi Lapeyre 11eb88753d Fix `terraform force-unlock <lock_id>` for Consul backend
6 years ago
Kristin Laemmert 6621501ae3
state: remove deprecated state package (#25490)
6 years ago
Martin Atkins aaf405b662 backend/remote-state: Get all the backend tests building again
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins 5782357c28 backend: Update interface and implementations for new config loader
8 years ago
James Bardin 12bda53558 Revert "create clistate.Locker interface"
8 years ago
James Bardin e88bd74bb7 create clistate.Locker interface
8 years ago
James Bardin 57cbcbe99d update remote state tests to use new test helpers
8 years ago
James Bardin cf54ca3b0f update tests for new consul packages
9 years ago
James Bardin 3a03d3683e update consul api packages
9 years ago
James Bardin f5e9a20c66 reset testLockHook
9 years ago
James Bardin 25a8227291 add broken test for lock lost on connection error
9 years ago
James Bardin fd9adcdb36 only init one consul client, and lower keepalive
9 years ago
James Bardin d0ecb232ae record consul session ID in lock info
9 years ago
Minkyu Kim f12a237747 Fix crash when using consul backend
9 years ago
James Bardin 76eb65c911 Fix crash in consul backend
9 years ago
Loïc Albertin 21b287e919 backend/consul: allow specifying various Consul client security options
9 years ago
James Bardin 1070d04b07 Remove consul context adapter for RenewPeriodic
9 years ago
James Bardin bcb11f6d89 have the consul client manage the lock session
9 years ago
James Bardin 82eba5801d Test losing and reacquiring a consul lock
9 years ago
James Bardin 3df48bfc27 relock consul when lock is lost
9 years ago
James Bardin e8330b6f53 use CAS for consul state Put
9 years ago
James Bardin 5621d97925 cleanup consul lock entries
9 years ago
James Bardin 75458a182d remove extra state.Locker assertions
9 years ago
James Bardin 4980fa20e7 move s3 config from client to backend
9 years ago
Mitchell Hashimoto 0cd15176ff
backend/consul: rebase and modify gzip test
9 years ago
Mitchell Hashimoto 1daff7a826
backend/consul: support "lock" option to disable locking
9 years ago
James Bardin 08d2b44ada add gzip to consul backend tests
9 years ago
James Bardin 1527eae6b7 Merge pull request #8748 from christoe/christoe/8491-gzip-consul-remote-state
9 years ago
James Bardin 86f711f6fc Make consul backend tests opt-in
9 years ago
James Bardin fa7743b627 quiet the consul server during backend tests
9 years ago
James Bardin 90055c6ae2 convert the consul backend to use consul/testutil
9 years ago
Christoffer Kylvåg abfa35db7c backend/remote-state/consul: Make gzip compression configurable (#8491)
9 years ago
Christoffer Kylvåg e098c7c24a backend/remote-state/consul: Add gzip support to consul backend client (#8491)
9 years ago
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 549d525487 Merge pull request #12320 from hashicorp/b-legacy-state
9 years ago
Mitchell Hashimoto 6ea0dc0964
backend/consul: make address have a default to prevent input
9 years ago
James Bardin f866bb545c update remote-state/consul
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 cd233fef6a make consul client pass state.Locker tests
9 years ago
James Bardin 80fab23e04 Don't test consul using demo.consul.io
9 years ago