variable "org_id" { description = "The organisation ID, o-xxxxxxxxxx." type = string validation { condition = can(regex("^o-[a-z0-9]{10,32}$", var.org_id)) error_message = "org_id looks like o-abc123defg." } } variable "target_ids" { description = "OU or account IDs to attach both policies to. Start with a test OU." type = list(string) } variable "trusted_account_ids" { description = "Accounts outside the organisation that may use your data and receive it, such as a vendor. Each one is a hole in the perimeter, so name them." type = list(string) default = [] } variable "exempt_tag" { description = "A tag that exempts a role from the resource perimeter when set to true, for roles that must write to outside buckets. Protect who can set it." type = string default = "dp:exclude:resource" } 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 = {} }