# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "cluster" { description = "Name of the EKS cluster the capture script works on. Its authentication mode must allow access entries (API or API_AND_CONFIG_MAP)." type = string } variable "responders" { description = "IAM principals allowed to take the responder role, such as your incident response SSO role." type = list(string) } variable "session_hours" { description = "Longest a responder session lasts, in hours. Short sessions limit what a stolen one is worth." type = number default = 1 validation { condition = var.session_hours >= 1 && var.session_hours <= 12 error_message = "IAM allows 1 to 12 hours." } } variable "retention_days" { description = "How long evidence is locked. Set it to at least as long as your legal hold and investigation cycle." type = number default = 365 } variable "lock_mode" { description = "GOVERNANCE lets a principal with s3:BypassGovernanceRetention delete evidence early. COMPLIANCE lets nobody." type = string default = "GOVERNANCE" validation { condition = contains(["GOVERNANCE", "COMPLIANCE"], var.lock_mode) error_message = "lock_mode must be GOVERNANCE or COMPLIANCE." } } 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 = {} }