mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-16 19:52:49 -06:00
ab304d831f
There are actually a few different ways to get to this message. 1. Blank state — no previous terraform applied. Start with a cloud block. 1. Implicit local — start with no backend specified. This actually goes through the same code execution path as the first scenario. 1. Explicit local — start with a backend local block that has been applied, then change from the local backend to a cloud block. This will recognize the state, and is a different path through the code in the meta backend. This commit handles the last case. The messaging has also been tweaked. End to end test included as well. |
||
---|---|---|
.. | ||
e2e | ||
testdata | ||
backend_apply_test.go | ||
backend_apply.go | ||
backend_cli.go | ||
backend_colorize.go | ||
backend_common.go | ||
backend_context_test.go | ||
backend_context.go | ||
backend_plan_test.go | ||
backend_plan.go | ||
backend_refresh_test.go | ||
backend_state_test.go | ||
backend_state.go | ||
backend_test.go | ||
backend.go | ||
cloud_variables_test.go | ||
cloud_variables.go | ||
errors.go | ||
remote_test.go | ||
testing.go | ||
tfe_client_mock.go | ||
versioning.go |