This code gave me error, even with the feature block.
terraform {
required_version = ">= 0.12"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "=2.46.0"
}
}
}
provider "azurerm" {
tenant_id = "xxxxx"
subscription_id = "xxxxx"
client_id = "xxxxx"
client_secret = "xxxxx"
alias = "prod"
features {}
}
What's wrong??? For azurerm version 2.0, I know features block is needed but I tried several times the error always comes up.