Using the latest Terraform v0.13 and Azure RM v.2.20.0, I receive the following error on ‘terraform init’. Something is looking for a provider called ‘azure’ instead of ‘azurerm’ . I am not sure where this information is coming from. Any ideas?
$ terraform init Initializing modules... Initializing the backend... Initializing provider plugins... - Using previously-installed hashicorp/template v2.1.2 - Using previously-installed hashicorp/external v1.2.0 - Using previously-installed hashicorp/azurerm v2.20.0 - Using previously-installed hashicorp/random v2.3.0 - Using previously-installed hashicorp/null v2.1.2 - Using previously-installed hashicorp/tls v2.2.0 - Using previously-installed hashicorp/local v1.4.0 - Finding latest version of terraform-providers/azure... Error: Incompatible provider version No compatible versions of provider registry.terraform.io/terraform-providers/azure were found.
Here’s the provider:
provider “azurerm” {
version = “~>2.20.0”
subscription_id = deadbeef-deadbeef-deadbeef"
features {}
}
And terraform --version:
$ terraform --version
Terraform v0.13.0
- provider registry.terraform.io/hashicorp/azurerm v2.20.0
- provider registry.terraform.io/hashicorp/external v1.2.0
- provider registry.terraform.io/hashicorp/local v1.4.0
- provider registry.terraform.io/hashicorp/null v2.1.2
- provider registry.terraform.io/hashicorp/random v2.3.0
- provider registry.terraform.io/hashicorp/template v2.1.2
- provider registry.terraform.io/hashicorp/tls v2.2.0