variable "env_prefix" {
  type        = string
  description = "Prefix of the environment, lowercased"
}

variable "project_group" {
  type        = string
  description = "Project group name, lowercased"
}

variable "name" {
  type        = string
  description = "Job queue name, lowercased"
}

variable "enabled" {
  type        = bool
  description = "Set whether job queue is enabled or disabled. Enabled by default"
  default     = true
}

variable "comp_env_arns" {
  type        = map(string)
  description = <<EOF
Specifies the map of compute environments mapped to a job queue and their order.
The position of the compute environments in the list will dictate the order.
You can associate up to 3 compute environments with a job queue.
EOF
  default     = {}
}

variable "priority" {
  type        = number
  description = "The priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment. "
  default     = 1
}

variable "scheduling_policy_arn" {
  type        = string
  description = "Arn of the fair-share scheduling policy to attach"
  default     = null
}

variable "common_tags" {
  type        = map(string)
  description = "Map of tags applied to objects"
  default     = {}
}
