variable "parent" { description = "Where the constraints apply: organizations/, folders/, or projects/. Everything underneath inherits them." type = string validation { condition = can(regex("^(organizations|folders|projects)/[a-z0-9-]+$", var.parent)) error_message = "parent must look like organizations/123, folders/456, or projects/my-project." } } variable "dry_run" { description = "Report what the constraints would block, without blocking it. Violations appear in the audit log. Set false to enforce." type = bool default = true } variable "allowed_member_customer_ids" { description = "Google Workspace or Cloud Identity customer IDs whose users and groups may be granted access, such as C0abc123. Empty skips this constraint." type = list(string) default = [] } variable "allowed_locations" { description = "Where resources may be created, as value groups such as in:us-locations. Empty skips this constraint." type = list(string) default = [] } variable "owner" { description = "Label contract: accountable team. Lowercase, because labels must be." type = string default = "security-engineering" } variable "environment" { description = "Label contract: environment." type = string default = "prod" } variable "extra_labels" { description = "Additional labels merged over the contract." type = map(string) default = {} }