terraform/state
James Bardin 10f6d7f30f Add locking for s3 state
Use a DynamoDB table to coodinate state locking in S3.

We use a simple strategy here, defining a key containing the value of
the bucket/key of the state file as the lock. If the keys exists, the
locks fails.

TODO: decide if locks should automatically be expired, or require manual
intervention.
2017-01-30 17:16:57 -05:00
..
remote Add locking for s3 state 2017-01-30 17:16:57 -05:00
testdata Add basic local state locking 2017-01-30 17:16:57 -05:00
backup.go Add basic local state locking 2017-01-30 17:16:57 -05:00
backup_test.go state: backup state 2015-02-23 15:13:54 -08:00
cache.go Add remote state locking 2017-01-30 17:16:57 -05:00
cache_test.go Make sure test has a valid ResourceState 2016-11-20 13:13:43 -05:00
inmem.go state: deep copies are required 2015-02-23 21:36:58 -08:00
inmem_test.go state: InmemState 2015-02-23 15:13:55 -08:00
local.go Add locking for s3 state 2017-01-30 17:16:57 -05:00
local_lock_unix.go Add basic local state locking 2017-01-30 17:16:57 -05:00
local_lock_windows.go Add basic local state locking 2017-01-30 17:16:57 -05:00
local_test.go Add basic local state locking 2017-01-30 17:16:57 -05:00
state.go add state.Locker interface 2017-01-30 17:16:57 -05:00
testing.go Fix vet issues 2016-10-18 11:11:12 -04:00