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.
This commit is contained in:
Alisdair McDiarmid 2020-09-01 10:19:10 -04:00
parent 9f824c53a5
commit f795083225

View File

@ -302,11 +302,13 @@ situation, `terraform init` will produce the following error message after
you complete the configuration changes described above: 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: Found unresolvable legacy provider references in state. It looks like these
provider registry registry.terraform.io does not have a provider named refer to in-house providers. You can update the resources in state with the
registry.terraform.io/-/happycloud 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 Provider source addresses starting with `registry.terraform.io/-/` are a special