From f795083225ba55d8e3d8e409e6e06c3a938009d0 Mon Sep 17 00:00:00 2001 From: Alisdair McDiarmid Date: Tue, 1 Sep 2020 10:19:10 -0400 Subject: [PATCH] website: Update 0.13 upgrade for legacy providers The error diagnostic shown when legacy state contains resources from in-house providers has changed, so update references to it in the 0.13 upgrade guide. --- website/upgrade-guides/0-13.html.markdown | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/website/upgrade-guides/0-13.html.markdown b/website/upgrade-guides/0-13.html.markdown index 2e306d6c11..2d1bf63b19 100644 --- a/website/upgrade-guides/0-13.html.markdown +++ b/website/upgrade-guides/0-13.html.markdown @@ -302,11 +302,13 @@ situation, `terraform init` will produce the following error message after you complete the configuration changes described above: ``` -Error: Failed to query available provider packages +Error: Failed to install legacy providers required by state -Could not retrieve the list of available versions for provider -/happycloud: -provider registry registry.terraform.io does not have a provider named -registry.terraform.io/-/happycloud +Found unresolvable legacy provider references in state. It looks like these +refer to in-house providers. You can update the resources in state with the +following command: + + terraform state replace-provider registry.terraform.io/-/happycloud terraform.example.com/awesomecorp/happycloud ``` Provider source addresses starting with `registry.terraform.io/-/` are a special