我正在尝试创建Azure Databrick集群,但是当我尝试运行terraform init时,我看到以下错误。我应该如何纠正它?基本上,如何在terraform中使用不同的提供程序?
Terraform版本是Terraform v0.14.5。
当我运行terraform init时,会出现以下错误。
当我运行terraform init时,会出现以下错误。
Initializing the backend...
Initializing provider plugins...
- Finding hashicorp/azurerm versions matching "~> 2.33"...
- Finding latest version of hashicorp/databricks...
- Installing hashicorp/azurerm v2.45.1...
- Installed hashicorp/azurerm v2.45.1 (signed by HashiCorp)
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider
hashicorp/databricks: provider registry registry.terraform.io does not have a
provider named registry.terraform.io/hashicorp/databricks
If you have just upgraded directly from Terraform v0.12 to Terraform v0.14
then please upgrade to Terraform v0.13 first and follow the upgrade guide for
that release, which might help you address this problem.