# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "org_id" { description = "Numeric organisation ID." type = string } variable "security_project" { description = "Project that contains the activity bucket and the alerts. Keep it separate from workloads." type = string } variable "break_glass_accounts" { description = "Break-glass accounts, created outside single sign-on. Two, held by different people, means one lost key does not lock everyone out." type = list(string) validation { condition = length(var.break_glass_accounts) > 0 && alltrue([for a in var.break_glass_accounts : can(regex("^[^@\\s]+@[^@\\s]+$", a))]) error_message = "List at least one account, each an email address." } } variable "alert_emails" { description = "Addresses that receive the alerts. Prefer an on-call address over a person." type = list(string) } variable "retention_days" { description = "How long the account's activity is kept." type = number default = 400 } variable "owner" { description = "Label contract: accountable team. Lowercase, because labels must be." type = string default = "security-engineering" } variable "environment" { description = "Label contract: environment." type = string default = "prod" } variable "extra_labels" { description = "Additional labels merged over the contract." type = map(string) default = {} }