variable "secrets" {
  type = list(string)
}

variable "action_types" {
  type        = list(string)
  description = "Which action types to allow. Potential values: read, write."
  validation {
    condition     = length(setsubtract(toset(var.action_types), ["read", "write"])) == 0
    error_message = "Allowed actions are: read, write"
  }
}
