terraform/backend/local
Mitchell Hashimoto 2be1f55cbb
backend/local: allow refresh on empty/non-existent state
This allows a refresh on a non-existent or empty state file. We changed
this in 0.9.0 to error which seemed reasonable but it turns out this
complicates automation that runs refresh since it now needed to
determine if the state file was empty before running.

Its easier to just revert this into a warning with exit code zero.

The reason this changed is because in 0.8.x and earlier, the output
would be simply empty with exit code zero which seemed odd.
2017-03-16 12:11:31 -07:00
..
test-fixtures backend/local: check for empty config on apply 2017-02-15 16:00:59 -08:00
backend.go backend/local: run backend.TestBackend 2017-03-09 16:17:21 +05:30
backend_apply.go backend/local: allow nil modules (no config) if executing a plan 2017-02-16 10:56:39 -08:00
backend_apply_test.go backend/local: check for empty config on apply 2017-02-15 16:00:59 -08:00
backend_local.go update local.Local to match the latest Backend 2017-02-28 16:07:31 -05:00
backend_plan.go Have backend operations properly unlock state 2017-02-15 14:41:55 -05:00
backend_plan_test.go backend/local: validate module exists for plan 2017-01-29 20:02:12 -08:00
backend_refresh.go backend/local: allow refresh on empty/non-existent state 2017-03-16 12:11:31 -07: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 backend/local: call new test API correctly 2017-03-15 08:46:58 -07:00
cli.go command: use backend.CLIIinit 2017-02-28 10:58:29 -08:00
counthookaction_string.go backend/local 2017-01-26 14:33:49 -08:00
hook_count.go backend/local 2017-01-26 14:33:49 -08: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 backend/local 2017-01-26 14:33:49 -08:00
hook_state_test.go backend/local 2017-01-26 14:33:49 -08: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