mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-27 00:46:25 -06:00
d01886a644
Fixes #12871 We were forgetting to remove the legacy remote state from the actual state value when migrating. This only causes an issue when saving a plan since the plan contains the state itself and causes an error where both a backend + legacy state exist. If saved plans aren't used this causes no noticable issue. Due to buggy upgrades already existing in the wild, I also added code to clear the remote section if it exists in a standard unchanged backend |
||
---|---|---|
.. | ||
test-fixtures | ||
backend_apply_test.go | ||
backend_apply.go | ||
backend_local.go | ||
backend_plan_test.go | ||
backend_plan.go | ||
backend_refresh_test.go | ||
backend_refresh.go | ||
backend_test.go | ||
backend.go | ||
cli.go | ||
counthookaction_string.go | ||
hook_count_action.go | ||
hook_count_test.go | ||
hook_count.go | ||
hook_state_test.go | ||
hook_state.go | ||
local_test.go | ||
testing.go |