variable "user_names" { description = "Break-glass users. Two, held by different people, means one lost key does not lock everyone out." type = list(string) default = ["break-glass-1", "break-glass-2"] validation { condition = length(var.user_names) > 0 && length(var.user_names) <= 3 error_message = "Name one to three break-glass users." } } variable "trail_log_group" { description = "CloudWatch log group a multi-region CloudTrail trail delivers to." type = string } variable "alert_topic_arn" { description = "An SNS topic that reaches the on-call channel, such as a chat or paging integration. Leave empty to create one and subscribe alert_emails. If it is encrypted, its key policy must let cloudwatch.amazonaws.com use the key, or the alarms cannot publish." type = string default = "" } variable "alert_emails" { description = "Addresses subscribed to a new topic, when alert_topic_arn is empty. Give at least one, or the alarms reach nobody." type = list(string) default = [] } 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 = {} }