Terraform 0.13 刚刚问世(https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-13/),它改变了与第三方提供商合作的方式(https://www.terraform.io/ upgrade-guides/0-13.html#explicit-provider-source-locations)。
我在运行时遇到错误terraform init
:
$ terraform init
Initializing the backend...
Initializing provider plugins...
- Finding latest version of hashicorp/ibm...
Error: Failed to install provider
Error while installing hashicorp/ibm: provider registry registry.terraform.io
does not have a provider named registry.terraform.io/hashicorp/ibm
这曾经在 Terraform 0.12.29 和 IBM 提供者 1.10.0 之前工作。