variable "resource-prefix" { type = string description = "Prefix of resource" } # VPC variables variable "vpc-cidr" { type = string description = "VPC primary CIDR" } variable "private-subnet-cidrs" { type = list(string) description = "Private subnet CIDRs" default = [] } variable "public-subnet-cidrs" { type = list(string) description = "Public subnet CIDRs" default = [] } variable "create-nat-gateway" { description = "Deploy NAT gateway for private subnets" type = bool default = false } variable "multiaz-nat-gateway" { type = bool description = "Whether to deploy 1 NAT gateway for each AZ" default = false } variable "flow-log-destination" { type = string description = "Destination of flowlog. Valid destinations are s3 or cwlog" default = null } variable "flow-log-bucket-arn" { type = string default = null description = "Arn of S3 bucket to be used for flow logging" } variable "enable-flow-log" { description = "Whether to enable VPC flowlog" type = bool default = true } variable "vpcflowlog-retain-days" { type = number default = 90 description = "Log retention period for CWlogs" } variable "vpcflowlog-cwl-loggroup-key-arn" { type = string description = "KMS key arn for cwlog encryption" } variable "create-free-vpc-endpoints" { description = "Whether to deploy free VPC endpoints (s3 and dynamodb)" type = bool default = true } variable "secondary_cidr_blocks" { type = list(string) description = "Additional cidr blocks" default = [] }