# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "tenancy_ocid" { description = "The tenancy. Audit events are read from here, and the IAM policies are created here." type = string } variable "compartment_ocid" { description = "Compartment that contains the bucket, vault, and connector." type = string } variable "region" { description = "Region identifier, such as us-ashburn-1." type = string } variable "name" { description = "Base name for the bucket, vault, key, connector, and policies." type = string default = "audit-log-immutable" } variable "retention_days" { description = "Nothing in the bucket can be deleted or overwritten until it is this old." type = number default = 400 validation { condition = var.retention_days >= 90 error_message = "retention_days must be 90 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. Leave empty to keep the rule unlocked." type = string default = "" } variable "include_subcompartments" { description = "Copy audit events from every compartment under the tenancy. False copies only the tenancy's own compartment." type = bool default = true } variable "owner" { description = "Tag contract: accountable team." type = string default = "security-engineering" } 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 = {} }