# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "subscription_id" { description = "Subscription the provider signs in to. The policy itself is assigned to the management group." type = string } variable "management_group_id" { description = "Management group the initiative is defined in and assigned to, such as /providers/Microsoft.Management/managementGroups/contoso." 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 "allowed_locations" { description = "Regions resources may be created in. global is always allowed, for services that have no region." type = list(string) default = ["eastus", "eastus2"] } variable "enforce" { description = "false assigns the initiative in audit mode: nothing is refused, and every would-be refusal shows as non-compliant. Start there, read the results, then set true." type = bool default = false } variable "exemptions" { description = "Subscriptions exempt from the whole initiative, each with the reason and an end date. Exemptions without an end date become permanent by accident." type = map(object({ reason = string expires_on = string })) default = {} }