module"network"{source="../../modules/network-public"name_prefix="my-cluster"vpc_cidr="10.0.0.0/16"multi_az=true # Automatically uses first 3 available AZs # subnet_cidr_size is automatically calculated (will be /19 for multi-AZ with /16 VPC)tags={Environment="production"Project="rosa-hcp"}}
Prefix for all resource names (typically cluster name). Ensures unique resource names across clusters
string
n/a
yes
vpc_cidr
CIDR block for the VPC
string
n/a
yes
multi_az
Create resources across multiple availability zones for high availability. Availability zones are automatically determined from AWS
bool
true
no
subnet_cidr_size
CIDR size for each subnet (e.g., 20 for /20). If not provided, automatically calculated based on VPC CIDR and number of subnets. Must be larger than VPC CIDR size
number
null (auto-calculated)
no
enable_nat_gateway
Enable NAT Gateway for private subnet internet access