variable "name" { description = "Prefix for the bucket, pack, and roles." type = string default = "compliance" } variable "record_global_resources" { description = "Record IAM users, roles, and policies. They are global, so switch this on in one region only, or every region records them and bills for it." type = bool default = true } variable "alert_topic_arn" { description = "SNS topic told when any rule finds a noncompliant resource. Its policy must let events.amazonaws.com publish." type = string } variable "remediate_public_buckets" { description = "Block public access automatically on any bucket found publicly readable. Test it in audit first: a website bucket meant to be public is fixed too." type = bool default = false } variable "retention_days" { description = "How long configuration history is kept." type = number default = 2555 } 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 tags merged over the contract." type = map(string) default = {} }