variable "subscription_id" { description = "Subscription that contains the alert resources, and that the provider signs in to." type = string } variable "management_group_id" { description = "Management group the benchmark and the repair policy are assigned to, as /providers/Microsoft.Management/managementGroups/." type = string validation { condition = can(regex("^/providers/Microsoft.Management/managementGroups/[^/]+$", var.management_group_id)) error_message = "Use the full ID: /providers/Microsoft.Management/managementGroups/." } } variable "location" { description = "Region for the assignment identities and the alert resource group." type = string default = "eastus" } variable "alert_subscription_ids" { description = "Subscriptions whose non-compliant changes send an email. Activity log alerts are set per subscription." type = list(string) } variable "alert_emails" { description = "Addresses that receive the alerts. Prefer an on-call address over a person." type = list(string) } variable "auto_repair_public_blob_access" { description = "Switch public blob access off on storage accounts that have it, now and whenever it is switched back on. Check nothing serves public files from blob storage first." type = bool default = false } variable "owner" { description = "Tag contract: accountable team." type = string default = "security-engineering" } variable "environment" { description = "Tag contract: environment." type = string default = "prod" } variable "extra_tags" { description = "Additional tags merged over the contract." type = map(string) default = {} }