# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "subscription_id" { description = "Subscription whose VMs the responder watches. Snapshots must stay in their disk's subscription, so the evidence goes here too." type = string } variable "locations" { description = "Regions you run VMs in. Each gets a quarantine security group, because a security group only serves its own region. The first is where the responder and the evidence live." type = list(string) validation { condition = length(var.locations) > 0 error_message = "Give at least one region." } } variable "name" { description = "Base name for the responder's resources. Letters and digits." type = string default = "secirresponder" validation { condition = can(regex("^[a-z0-9]{3,16}$", var.name)) error_message = "3 to 16 lowercase letters and digits, because storage account names are built from it." } } variable "system_topic_name" { description = "The subscription's existing Event Grid system topic, if it has one. A subscription can have only one, so this template reuses yours instead of failing. It must be in the responder's resource group; empty creates one." type = string default = "" } variable "evidence_retention_days" { description = "How long no evidence blob can be changed or deleted. Set it to at least your legal hold period." type = number default = 365 validation { condition = var.evidence_retention_days >= 1 && var.evidence_retention_days <= 146000 error_message = "Azure allows 1 to 146000 days." } } variable "lock_retention" { description = "Lock the immutability policy. Nobody, including a subscription Owner, can then shorten or remove it, and the container and account cannot be deleted while they contain evidence. Cannot be undone." type = bool default = false } variable "owner" { description = "Tag contract: accountable team." type = string default = "security-operations" } variable "environment" { description = "Tag contract: environment." type = string default = "prod" } variable "extra_tags" { description = "Additional tags merged over the contract." type = map(string) default = {} }