terraform { required_version = ">= 1.6" required_providers { azurerm = { source = "hashicorp/azurerm" version = "~> 5.0" } } # Remote state. Uncomment and point at your own backend. # backend "azurerm" { # resource_group_name = "rg-tfstate" # storage_account_name = "tfstatesecprod" # container_name = "tfstate" # key = "ai-model-logging/azure.tfstate" # use_azuread_auth = true # } } # The azurerm provider registers no resource providers from version 5.0. # Register Microsoft.Insights and Microsoft.OperationalInsights before the # first plan, and Microsoft.PolicyInsights to read the key policy's # compliance results. provider "azurerm" { features {} subscription_id = var.subscription_id }