variable "tags" {
  description = "A map of tags to add to all resources"
  type        = map(string)

  default = {
    Terraform     = "True"
    Business_unit = "EOM"
    Environment   = "Stage"
    Owner         = "Keith Osani"
    Project_code  = "SME-2000-0590E"
    Project_name  = "Max-Dev"
  }
}

variable "region" {
  description = "AWS region to deploy resources"
  type        = string
  default     = "eu-central-1"
}

##################### Max-Dev EKS VARIABLES #####################

variable "max_eks_cluster_name" {
  type    = string
  default = "max-dev-eks"
}

variable "max_eks_version" {
  type    = string
  default = "1.32"
}

variable "max_eks_ami" {
  type    = string
  default = "ami-075c2e868f8a75609"
}

variable "max_eks_instance_type" {
  type    = string
  default = "t3.large"
}

variable "max_eks_ssh_key" {
  type    = string
  default = "maxoh-s-04dec2019"
}

variable "max_node_group_role_arn" {
  type    = string
  default = "arn:aws:iam::981599956623:role/max-oh-s-eks-worker-node-role"
}

variable "eks_cluster_role_arn" {
  type    = string
  default = "arn:aws:iam::981599956623:role/max-oh-s-eks-cluster-service-role"
}

variable "enabled_cluster_log_types" {
  type    = list(string)
  default = ["api", "audit", "authenticator", "controllerManager", "scheduler"]
}

variable "encryption_config_resources" {
  type    = list(string)
  default = ["secrets"]
}

variable "encryption_config_provider_key_arn" {
  type    = string
  default = "arn:aws:kms:eu-central-1:981599956623:key/7ac6ffe9-c5df-45cb-a046-3ed7871f6066"
}

variable "vpc_config_endpoint_private_access" {
  type    = bool
  default = true
}

variable "vpc_config_endpoint_public_access" {
  type    = bool
  default = false
}