You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create internal ALB (true) or internet-facing ALB (false)
-
VPC Configuration Variables
Variable
Type
Default
Description
create_new_vpc
bool
false
Create new VPC or use existing
cidr
string
"10.0.0.0/16"
VPC CIDR block (≥/24 for 256+ addresses)
vpc_id
string
null
Existing VPC ID (required if create_new_vpc = false)
intra_subnets
list(string)
null
Isolated subnet IDs (exactly 2 required for existing VPC)
private_subnets
list(string)
null
Private subnet IDs (exactly 2 required for existing VPC)
public_subnets
list(string)
null
Public subnet IDs (exactly 2 required for internet-facing ALB)
user_subnets
list(string)
null
ALB subnet IDs (exactly 2 required for internal ALB with existing VPC)
user_security_group
string
null
Security group ID for ALB access (required for existing VPC)
api_endpoint
string
null
VPC endpoint ID for API Gateway (required for internal ALB with existing VPC)
enable_transit_gateway
bool
false
Route private-subnet egress through a Transit Gateway instead of NAT gateways (create_new_vpc = true only). Disables NAT + the IPv6 egress-only IGW; requires transit_gateway_id. See Transit Gateway egress.
transit_gateway_id
string
null
Transit Gateway to attach to (required when enable_transit_gateway = true). May be a value known only after apply (e.g. a TGW created in the same configuration).
transit_gateway_ipv6_egress
bool
false
Also route IPv6 (::/0) egress through the TGW. Leave off unless the TGW carries IPv6 egress, otherwise IPv6 traffic would be black-holed.
# High availability configurationdb_instance_class="db.t3.medium"db_multi_az=truedb_deletion_protection=truesearch_dedicated_master_enabled=truesearch_zone_awareness_enabled=truesearch_instance_count=2search_instance_type="m6g.xlarge.elasticsearch"search_volume_size=2048search_volume_type="gp3"
Enterprise Environment
# High performance configurationdb_instance_class="db.r5.xlarge"db_multi_az=truedb_deletion_protection=truesearch_dedicated_master_enabled=truesearch_zone_awareness_enabled=truesearch_instance_count=4search_instance_type="m6g.4xlarge.elasticsearch"search_volume_size=6144search_volume_type="gp3"search_volume_iops=18750
Variable Validation Rules
Name Validation
Must be ≤20 characters
Lowercase alphanumeric characters and hyphens only
Used as prefix for AWS resource names
Network Validation
CIDR blocks must allow ≥256 IP addresses (≤/24)
Subnet lists must contain exactly 2 subnet IDs when specified
VPC endpoints required for internal deployments with existing VPC
ElasticSearch Validation
search_volume_iops must be ≥3000 when specified
search_volume_throughput must be 125-1000 MiB/s for gp3 volumes
Master node count should be odd (3 or 5) for proper quorum
Database Validation
db_network_type must be "IPV4" or "DUAL"
Multi-AZ recommended for production environments
Deletion protection recommended for production databases