terraform { required_version = ">= 1.6" required_providers { azurerm = { source = "hashicorp/azurerm" version = "~> 5.0" } random = { source = "hashicorp/random" version = "~> 3.6" } } # Remote state. Build the state-backend template first, then paste its # backend block here. # # backend "azurerm" { # resource_group_name = "rg-tfstate" # storage_account_name = "tfstateabc123" # container_name = "tfstate" # key = "key-baseline.tfstate" # use_azuread_auth = true # } } provider "azurerm" { features { key_vault { purge_soft_delete_on_destroy = false } } subscription_id = var.subscription_id }