variable "policies" {
  description = "Map of IAM managed policies to create"
  type = map(object({
    name        = string
    description = optional(string, "")
    path        = optional(string, "/")
    policy      = string # JSON policy document
  }))
  default = {}
}

variable "permission_boundaries" {
  description = "Map of permission boundary policy definitions to create"
  type = map(object({
    name        = string
    description = optional(string, "")
    path        = optional(string, "/")
    policy      = string # JSON policy document
  }))
  default = {}
}

variable "tags" {
  description = "Resource tags to apply to all resources"
  type        = map(string)
  default     = {}
}
