# VPC Module Variables variable "name_prefix" { description = "Prefix for resource names" type = string } variable "vpc_cidr" { description = "CIDR block for VPC" type = string default = "10.0.0.0/16" } variable "public_subnet_cidrs" { description = "CIDR blocks for public subnets" type = list(string) default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] } variable "private_subnet_cidrs" { description = "CIDR blocks for private subnets" type = list(string) default = ["10.0.11.0/24", "10.0.12.0/24", "10.0.13.0/24"] } variable "aws_region" { description = "AWS region" type = string } variable "cluster_name" { description = "Name of the EKS cluster (for subnet tagging)" type = string } variable "enable_nat_gateway" { description = "Enable NAT gateway for private subnets" type = bool default = true } variable "single_nat_gateway" { description = "Use a single NAT gateway for all private subnets (cost optimization)" type = bool default = false } variable "enable_vpc_endpoints" { description = "Enable VPC endpoints for AWS services" type = bool default = true } variable "enable_flow_logs" { description = "Enable VPC flow logs" type = bool default = true } variable "flow_logs_retention_days" { description = "Number of days to retain VPC flow logs" type = number default = 30 } variable "tags" { description = "Tags to apply to resources" type = map(string) default = {} }