# Variables ==================================================================== variable "policies" { description = <<-EOT Map of SCP definitions where the content is a JSON-encoded policy document. Targets is the list of OU or account IDs to attach the policies to. EOT type = map(object({ name = string description = string content = string targets = list(string) tags = optional(map(string), {}) })) default = {} } variable "attachments" { description = <<-EOT Map of pre-existing SCP policy IDs to attach to targets. Use for SCPs that already exist in the organization and are not managed by this stack. EOT type = map(object({ policy_id = string targets = list(string) })) default = {} }