Commit Graph

152 Commits (f1db0fcf9bf4ebe523fff91302fbd080bca41603)

Author SHA1 Message Date
Ash Berlin 70de22253a Fix error message in Azure state backend (#12424)
9 years ago
Peter McAtominey cbed463b44 state/azure: add environment option for non-public cloud usage (#12364)
9 years ago
Mitchell Hashimoto 942572b574
backend/init: add atlas, remove legacy atlas remote state
9 years ago
James Bardin 7f40f90c4c remove the legacy Inmem remote state
9 years ago
James Bardin a4283d23f6 fix windows locking
9 years ago
James Bardin c0dda6a7b3 test failure for windows local locks
9 years ago
Mitchell Hashimoto 03f6c650ca
state/remote: ClientLocker is just a Client that is a state.Locker
9 years ago
Mitchell Hashimoto 9451acc5da
state/remote: add unit test to verify s3 is a ClientLocker as well
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 888af93356 Have S3 check the lockID on Unlock
9 years ago
James Bardin 67bbebce08 Have consul state reutrn the lock ID
9 years ago
James Bardin 08cff7cc13 have LocalState check Lock ID on Unlock
9 years ago
James Bardin 6aa1066f7c Store and use the correct IDs in TestRemoteLocks
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 52b2343672 make state test pass with new state.Locker
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 6d32b70637 Make S3 remote state pass tests
9 years ago
James Bardin 0ad6f08204 Make remote state test run
9 years ago
James Bardin 200c8de4e9 Update the state.Locker interface
9 years ago
Mitchell Hashimoto a7cfb8062b
state: just style changes in the code itself (newlines, moving methods)
10 years ago
James Bardin 4d00c29706 Merge pull request #11836 from hashicorp/jbardin/state-locking
10 years ago
James Bardin 0c1b138719 Add state locking during backend init
10 years ago
Daren Desjardins 5718294386 state/remote/s3: Fix Bug with Assume Role for Federated IAM Account (#10067)
10 years ago
James Bardin 5c2e945b3c Fix format string and typos
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 e92559f518 Cleanup state file during Unlock
10 years ago
James Bardin a2b5811f50 Remove "expires" from lock info.
10 years ago
James Bardin 1078781487 Change lock reason -> info
10 years ago
James Bardin ebd88f8f8a add msdn link for LockFileEx
10 years ago
James Bardin 370a4ca70b add mutex for windows lockedFiles map
10 years ago
James Bardin 7590154974 Don't create empty backups
10 years ago
James Bardin 1646310e68 Allow a non-existent state file
10 years ago
James Bardin 3fdcbda3aa Switch from Path to PathOut on LocalState.written
10 years ago
James Bardin 8f7f1917f2 Remove state file data when writing a nil state
10 years ago
James Bardin da0c325e5c Silence state package logs during tests
10 years ago
James Bardin 10f6d7f30f Add locking for s3 state
10 years ago
James Bardin 35307d5a60 Add remote state locking
10 years ago
James Bardin 6162cde6ff Add basic local state locking
10 years ago
James Bardin cc0712edab add state.Locker interface
10 years ago
Mitchell Hashimoto d3633ab368
state/remote: remove consul since we converted that
10 years ago
Ben Slusky e3b20c3508 Basic authentication for HTTP remote state backend
10 years ago
Aleksander Modzelewski 2627e4bd8d Add token authentication to Swift remote
10 years ago
Joe Topjian 8ecc6fda0a Merge pull request #10055 from fatmcgav/swift_add_version_expire
10 years ago
Gavin Williams c77ed69a4e state/remote/swift: Add support for versioning state file in swift, and expiring object after period of time.
10 years ago
James Bardin 91378d0499 Merge pull request #10233 from hashicorp/jbardin/GH-10229
10 years ago
James Bardin 9616618de1 Make sure test has a valid ResourceState
10 years ago
James Bardin 7715bc8423 change failing test to use subtests
10 years ago
Peter McAtominey 507efcb180 state/azure: support passing of lease ID when writing storage blob (#10115)
10 years ago