terraform/state
James Bardin e92559f518 Cleanup state file during Unlock
Close and remove the file descriptor from LocalState if we Unlock the
state. Also remove an empty state file if we created it and it was never
written to. This is mostly to clean up after tests, but doesn't hurt to
not leave empty files around.
2017-02-03 18:58:18 -05:00
..
remote Remove "expires" from lock info. 2017-02-03 14:55:21 -05:00
testdata Add basic local state locking 2017-01-30 17:16:57 -05:00
backup.go Don't create empty backups 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 Cleanup state file during Unlock 2017-02-03 18:58:18 -05:00
local_lock_unix.go Switch from Path to PathOut on LocalState.written 2017-01-30 17:16:57 -05:00
local_lock_windows.go add msdn link for LockFileEx 2017-02-01 12:38:10 -05:00
local_test.go Add basic local state locking 2017-01-30 17:16:57 -05:00
state.go Change lock reason -> info 2017-02-02 18:08:28 -05:00
state_test.go Silence state package logs during tests 2017-01-30 17:16:57 -05:00
testing.go Fix vet issues 2016-10-18 11:11:12 -04:00