mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
During backend initialization, especially during a migration, there is a chance that an existing state could be overwritten. Attempt to get a locks when writing the new state. It would be nice to always have a lock when reading the states, but the recursive structure of the Meta.Backend config functions makes that quite complex. |
||
---|---|---|
.. | ||
remote | ||
testdata | ||
backup_test.go | ||
backup.go | ||
cache_test.go | ||
cache.go | ||
inmem_test.go | ||
inmem.go | ||
local_lock_unix.go | ||
local_lock_windows.go | ||
local_test.go | ||
local.go | ||
state_test.go | ||
state.go | ||
testing.go |