terraform/command
Alisdair McDiarmid 9f824c53a5 command: Better in-house provider install errors
When init attempts to install a legacy provider required by state and
fails, but another provider with the same type is successfully
installed, this almost definitely means that the user is migrating an
in-house provider. The solution here is to use the `terraform state
replace-provider` subcommand.

This commit makes that next step clearer, by detecting this specific
case, and displaying a list of commands to fix the existing state
provider references.
2020-09-01 14:02:19 -04:00
..
cliconfig provider cache: log errors and validate dir exists (#24993) 2020-05-19 15:32:36 -04:00
clistate state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
e2etest internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
format format: Don't wrap space-prefixed diag details 2020-09-01 14:02:19 -04:00
jsonconfig Ensure depends_on is in module calls for config 2020-08-20 07:49:03 +10:00
jsonplan
jsonprovider
jsonstate remove a few traces of states.EachMode 2020-04-30 09:22:15 -04:00
testdata command: Better in-house provider install errors 2020-09-01 14:02:19 -04:00
webbrowser
012_config_upgrade.go command: Fix 0.12upgrade stub 2020-06-01 16:12:30 -04:00
012_config_upgrade_test.go
013_config_upgrade.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
013_config_upgrade_test.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
apply.go command/apply: Remove implicit init call 2020-06-12 12:39:15 -04:00
apply_destroy_test.go
apply_test.go state: remove deprecated state package (#25490) 2020-08-11 11:43:01 -04:00
autocomplete.go
autocomplete_test.go
cli_ui.go
cli_ui_test.go
command.go
command_test.go command: Add redirect support to 0.13upgrade 2020-08-31 14:53:35 -04:00
console.go * backend/local: push responsibility for unlocking state into individual operations 2020-08-11 11:23:42 -04:00
console_interactive.go
console_interactive_solaris.go
console_test.go fix command tests 2020-08-07 14:13:57 -04:00
debug_command.go
flag_kv.go
flag_kv_test.go
fmt.go
fmt_test.go
get.go
get_test.go
graph.go
graph_test.go fix command tests 2020-08-07 14:13:57 -04:00
hook_module_install.go
hook_ui.go command: Remove stubbed-out apply diff output code 2020-07-22 14:19:00 -04:00
hook_ui_test.go
import.go * backend/local: push responsibility for unlocking state into individual operations 2020-08-11 11:23:42 -04:00
import_test.go terraform: Eval module call arguments for import 2020-08-17 17:14:12 -04:00
init.go command: Better in-house provider install errors 2020-09-01 14:02:19 -04:00
init_test.go command: Better in-house provider install errors 2020-09-01 14:02:19 -04:00
internal_plugin.go
internal_plugin_list.go
internal_plugin_test.go
login.go command/login: Require "yes" to confirm 2020-06-25 11:46:51 -04:00
login_test.go command/login: Require "yes" to confirm 2020-06-25 11:46:51 -04:00
logout.go
logout_test.go
meta.go Merge pull request #25847 from zachwhaley/fix-tf-cli-args-no-color 2020-08-24 10:13:59 -04:00
meta_backend.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
meta_backend_migrate.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
meta_backend_test.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
meta_config.go
meta_new.go
meta_providers.go providercache: Lazily detect executable file 2020-07-07 15:18:27 -04:00
meta_test.go Merge pull request #25847 from zachwhaley/fix-tf-cli-args-no-color 2020-08-24 10:13:59 -04:00
meta_vars.go
output.go command: Warn instead of error for empty output 2020-08-28 11:05:46 -04:00
output_test.go command: Warn instead of error for empty output 2020-08-28 11:05:46 -04:00
plan.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
plan_test.go terraform: remove state from `validate` graph walk (#26063) 2020-08-31 15:45:39 -04:00
plugins.go Typo: heirarchical => hierarchical 2020-07-23 15:09:22 +02:00
plugins_lock.go
plugins_lock_test.go
plugins_test.go
providers.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
providers_mirror.go internal/getproviders: decode and return any registry warnings (#25337) 2020-06-25 10:49:48 -04:00
providers_schema.go
providers_schema_test.go
providers_test.go command/providers: Show provider requirements tree 2020-06-09 14:21:53 -04:00
push.go
refresh.go command/refresh: fix state file path (#22885) 2020-06-04 10:24:53 -04:00
refresh_test.go remove unused DependsOn usage in state 2020-05-14 15:46:08 -04:00
show.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
show_test.go command/show: fix bug displaying provider config in json output of tf plan (#25577) 2020-07-14 15:28:31 -04:00
state_command.go
state_list.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
state_list_test.go
state_meta.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
state_mv.go command: Fix state mv for only resource in module 2020-08-11 11:54:35 -04:00
state_mv_test.go command: Fix state mv for only resource in module 2020-08-11 11:54:35 -04:00
state_pull.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
state_pull_test.go
state_push.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
state_push_test.go
state_replace_provider.go website: Add docs for state replace-provider 2020-04-23 11:41:57 -04:00
state_replace_provider_test.go
state_rm.go command: adjust exit code of state rm (#22300) 2020-06-24 14:03:23 -04:00
state_rm_test.go command: adjust exit code of state rm (#22300) 2020-06-24 14:03:23 -04:00
state_show.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
state_show_test.go
state_test.go
taint.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
taint_test.go
ui_input.go command/login: Require "yes" to confirm 2020-06-25 11:46:51 -04:00
ui_input_test.go
unlock.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
unlock_test.go
untaint.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
untaint_test.go
validate.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00
validate_test.go
version.go fix outdated message output order 2020-08-11 23:27:29 +01:00
version_test.go test outdated version output 2020-08-12 21:22:39 +01:00
workspace_command.go
workspace_command_test.go command: Allow workspace delete with invalid name 2020-08-11 12:33:12 -04:00
workspace_delete.go command: Allow workspace delete with invalid name 2020-08-11 12:33:12 -04:00
workspace_list.go
workspace_new.go
workspace_select.go
workspace_show.go command: Always validate workspace name 2020-08-11 12:33:12 -04:00