variable "region" { description = "The AWS region to deploy resources in" type = string default = "ap-south-1" } variable "vpc_cidr" { description = "The CIDR block for the VPC" type = string default = "10.0.0.0/16" } variable "availability_zones" { description = "List of availability zones to use" type = list(string) default = ["ap-south-1a", "ap-south-1b", "ap-south-1c"] } variable "private_subnet_cidrs" { description = "List of CIDR blocks for private subnets" type = list(string) default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] } variable "public_subnet_cidrs" { description = "List of CIDR blocks for public subnets" type = list(string) default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"] } variable "cluster_name" { description = "The name of the EKS cluster" type = string default = "astroshop-eks-cluster" } variable "cluster_version" { description = "The Kubernetes version for the EKS cluster" type = string default = "1.32" } variable "public_access_cidrs" { description = "List of CIDR blocks that can access the public API endpoint" type = list(string) default = [] } variable "node_groups" { description = "EKS node group configuration" type = map(object({ instance_types = list(string) capacity_type = string scaling_config = object({ desired_size = number max_size = number min_size = number }) })) default = { general = { instance_types = ["m7i-flex.large"] capacity_type = "ON_DEMAND" scaling_config = { desired_size = 2 max_size = 3 min_size = 1 } } } }