mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-15 02:49:55 -04:00
* feat: Any state migration situations involving PSS are now resolved through init -reconfigure or the new state migrate command. Also, remove methods and structs that aren't used anymore: stateStore_to_backend, backend_to_stateStore, stateStore_changed, removeLocalState, errStateStoreClearSaved * test: Fix test log contents to reference correct test name * fix: Make sure that errStateStoreInitDiag suggests `init` when the store is uninitialised, and suggest `state migrate` + `init -reconfigure` when a migration is needed * fix: Make errBackendToStateStoreInitDiag suggest the correct commands for a state migration. * fix: Standardise on "run <command>" over "use <command>" in error messages * test: Update tests about handling changes in a state store's configuration. We need to re-implement these tests in the context of testing a new `state migrate` command * test: Remove test about handling provider updates in the context of PSS. We need to re-implement this test in the context of testing a new `state migrate` command with an `-upgrade` flag. We also need to implement behaviour in `init` that blocks upgrading the PSS provider. * test: Update test where `init` detects a `state_store` block is removed. * test: Update test where `init` detects a migration from state_store to backend * test: Update test where `init` detects a migration from backend to state_store * test: Update test where `init` detects a migration from the cloud backend to state_store * test: Update E2E test error message assertions to match recent changes |
||
|---|---|---|
| .. | ||
| testdata | ||
| .gitignore | ||
| automation_test.go | ||
| doc.go | ||
| init_test.go | ||
| main_test.go | ||
| make-archive.sh | ||
| meta_backend_test.go | ||
| module_archive_test.go | ||
| pluggable_state_store_test.go | ||
| primary_test.go | ||
| provider_dev_test.go | ||
| provider_plugin_test.go | ||
| providers_mirror_test.go | ||
| providers_schema_test.go | ||
| providers_tamper_test.go | ||
| provisioner_plugin_test.go | ||
| provisioner_test.go | ||
| remote_state_test.go | ||
| strip_ansi.go | ||
| terraform_provider_funcs_test.go | ||
| terraform_query_test.go | ||
| terraform_test.go | ||
| unmanaged_test.go | ||
| version_test.go | ||