terraform/backend/local
Martin Atkins a42ebe389c Revert "have StateHook periodically PersistState"
This reverts commit b73d037761.

This commit seems to have introduced a race condition where we can
concurrently keep updating state after we've checked if we need to
increase the serial, and thus end up writing partial changes
to the state backend.

In the case of Terraform Enterprise, this fails altogether because
of the state hash consistency check it does.
2017-06-07 16:25:19 -07:00
..
test-fixtures backend/local: check for empty config on apply 2017-02-15 16:00:59 -08:00
backend.go always wrap remote state in a BackupState 2017-04-24 22:15:19 -04:00
backend_apply.go call PersistState immediately when cancelling 2017-05-25 11:20:51 -04:00
backend_apply_test.go backend/local: create local state file if backend write fails 2017-05-23 11:18:01 -07:00
backend_local.go update local.Local to match the latest Backend 2017-02-28 16:07:31 -05:00
backend_plan.go provide contexts to clistate.Lock calls 2017-04-01 17:09:20 -04:00
backend_plan_test.go backend/local: validate module exists for plan 2017-01-29 20:02:12 -08:00
backend_refresh.go provide contexts to clistate.Lock calls 2017-04-01 17:09:20 -04:00
backend_refresh_test.go backend/local: refresh with no config should not crash on input 2017-02-22 13:10:08 -08:00
backend_test.go always wrap remote state in a BackupState 2017-04-24 22:15:19 -04:00
cli.go command: use backend.CLIIinit 2017-02-28 10:58:29 -08:00
counthookaction_string.go Fix stringer comments (#15069) 2017-06-05 10:17:35 +01:00
hook_count.go check for empty diff in CountHook.PreApply 2017-05-26 15:04:56 -04:00
hook_count_action.go backend/local 2017-01-26 14:33:49 -08:00
hook_count_test.go backend/local 2017-01-26 14:33:49 -08:00
hook_state.go Revert "have StateHook periodically PersistState" 2017-06-07 16:25:19 -07:00
hook_state_test.go Revert "have StateHook periodically PersistState" 2017-06-07 16:25:19 -07:00
local_test.go backend/local 2017-01-26 14:33:49 -08:00
testing.go backend/local: run backend.TestBackend 2017-03-09 16:17:21 +05:30