# EKS Module - Variables # RFC 0039: ADR-Compliant Foundation Infrastructure variable "cluster_name" { description = "Name of the EKS cluster" type = string } variable "cluster_version" { description = "Kubernetes version for EKS" type = string default = "1.29" } variable "vpc_id" { description = "VPC ID" type = string } variable "private_subnet_ids" { description = "List of private subnet IDs" type = list(string) } variable "public_subnet_ids" { description = "List of public subnet IDs" type = list(string) } variable "enable_karpenter" { description = "Enable Karpenter for auto-scaling nodes" type = bool default = true } variable "enable_fips" { description = "Enable FIPS 140-2 compliance mode" type = bool default = true } variable "enable_public_access" { description = "Enable public access to EKS API endpoint" type = bool default = true } variable "public_access_cidrs" { description = "CIDR blocks allowed to access EKS API endpoint" type = list(string) default = ["0.0.0.0/0"] } # Addon versions - update these as new versions are released variable "vpc_cni_version" { description = "VPC CNI addon version" type = string default = "v1.16.0-eksbuild.1" } variable "coredns_version" { description = "CoreDNS addon version" type = string default = "v1.11.1-eksbuild.6" } variable "kube_proxy_version" { description = "kube-proxy addon version" type = string default = "v1.29.0-eksbuild.1" } variable "ebs_csi_version" { description = "EBS CSI driver addon version" type = string default = "v1.26.1-eksbuild.1" } variable "ebs_csi_role_arn" { description = "IAM role ARN for EBS CSI driver (IRSA)" type = string default = null } variable "tags" { description = "Tags to apply to all resources" type = map(string) default = {} }