variable "env" {
  description = "Environment for the EKS cluster"
  type        = string
}
variable "logical_region_name" {
  description = "Logical region name"
  type        = string
}
variable "account" {
  type = string
}
variable "region" {
  description = "The AWS region to create the cluster in"
  type        = string
}
variable "k8s_version" {
  description = "The Kubernetes version to use for the cluster"
  type        = string
  default     = "1.36"
}
variable "cidr" {
  description = "The CIDR block for the VPC"
  type        = string
}

variable "availability_zones" {
  description = "The availability zones to use for the cluster"
  type        = string
}

variable "public_access_cidrs" {
  description = "The CIDR blocks to allow public access to the cluster"
  type        = list(string)
  default     = ["0.0.0.0/0"]
}

variable "tags" {
  description = "Tags to apply to the resources"
  type        = map(string)
  default = {
    servicetype = "o11y"
    tenant      = "admin"
    usedby      = "o11y-region-control"
  }
}

variable "node_groups" {
  description = "The node groups to create for the cluster"
  type        = any
}

variable "auth_roles" {
  description = "The roles to add to the cluster auth configmap"
  type        = list(string)
}

variable "clinic_endpoint_service_name" {
  description = "The vpc endpoint service name for clinic"
  type        = string
}

variable "cluster_role_name" {
  description = "o11y cluster role name"
  type        = string
  default     = "tidbcloud-o11y-eks-cluster-role"
}

variable "node_role_name" {
  description = "o11y node role name"
  type        = string
  default     = "tidbcloud-o11y-eks-node-role"
}
