# ─── Region ────────────────────────────────────────────────────────── variable "region" { description = "AWS region (e.g., eu-west-1, us-east-1)" type = string } variable "prefix" { description = "Prefix for resource names (e.g., clst-dev)" type = string } # ─── Networking ─────────────────────────────────────────────────────── variable "vpc_cidr" { description = "VPC CIDR block" type = string default = "10.100.0.0/16" } variable "availability_zones" { description = "List of AZs for subnets (2–3 recommended)" type = list(string) } # ─── EKS Cluster ───────────────────────────────────────────────────── variable "node_instance_type" { description = "EKS node instance type (e.g., t3.medium, m5.xlarge)" type = string } variable "node_count" { description = "Desired number of EKS worker nodes" type = number } variable "node_min_count" { description = "Minimum number of EKS worker nodes" type = number default = 1 } variable "node_max_count" { description = "Maximum number of EKS worker nodes" type = number } variable "kubernetes_version" { description = "Kubernetes version for EKS (e.g., \"1.30\")" type = string default = "1.30" } # ─── Tags ───────────────────────────────────────────────────────────── variable "tags" { description = "Tags applied to all resources" type = map(string) default = {} }