variable "region" { description = "Region identifier of the cluster, such as us-ashburn-1. The bucket and its key go here too." type = string } variable "cluster_id" { description = "OCID of the OKE cluster the capture script works on." type = string } variable "node_compartment_ocid" { description = "Compartment of the worker nodes and their volumes, when it differs from the cluster's. Empty means the cluster's." type = string default = "" } variable "evidence_compartment_ocid" { description = "Compartment for the bucket and its vault. A compartment the cluster's operators cannot manage keeps evidence out of an attacker's reach. Empty means the cluster's." type = string default = "" } variable "responder_group_ocids" { description = "OCIDs of the IAM groups allowed to capture. Bind the same OCIDs to the incident-responder cluster role." type = list(string) validation { condition = length(var.responder_group_ocids) > 0 && alltrue([for g in var.responder_group_ocids : startswith(g, "ocid1.group.")]) error_message = "Give at least one group OCID (ocid1.group...)." } } variable "retention_days" { description = "Nothing in the bucket can be deleted or overwritten until it is this old. Set it to at least your legal hold period." type = number default = 365 validation { condition = var.retention_days >= 1 error_message = "retention_days must be 1 or more." } } variable "lock_at" { description = "When to lock the retention rule, as an RFC 3339 time at least 14 days ahead, such as 2026-12-01T00:00:00Z. Until then the rule can still be edited or removed. After it, never, and the bucket can only be deleted once empty. Leave empty to keep the rule unlocked." type = string default = "" } 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 freeform tags merged over the contract." type = map(string) default = {} }