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
This document is the checked-in Terraform documentation snapshot for the AWS blueprint. It is intentionally concise and reviewable without a real AWS account.
Root Environments
Environment
Path
Default posture
Intended use
Dev
environments/dev
All expensive toggles disabled
Local validation and low-cost sandbox planning.
Staging
environments/staging
All expensive toggles disabled
Pre-production account wiring after budget and IAM review.
Prod
environments/prod
All expensive toggles disabled
Production plan review only until real domain, secrets, budget, and state backend exist.
Each environment exposes the same variables:
Variable
Type
Default style
Notes
aws_region
string
ap-southeast-1
Change per target account and latency needs.
environment
string
dev, staging, prod
Used in tags and resource names.
name_prefix
string
devhire-{environment}
Keep globally unique where AWS requires it.
vpc_cidr
string
10.x.0.0/16
Must not overlap peered networks or corporate VPN ranges.
availability_zones
list(string)
three AZs
Choose AZs supported by EKS/RDS/MSK in the target region.
enable_nat_gateway
bool
false
Costly; required for private subnet egress unless using VPC endpoints.
enable_eks
bool
false
Enables EKS control plane and node group.
enable_rds
bool
false
Enables PostgreSQL RDS placeholder.
enable_redis
bool
false
Enables ElastiCache Redis placeholder.
enable_msk
bool
false
Enables MSK Serverless Kafka placeholder.
enable_opensearch
bool
false
Enables OpenSearch placeholder.
extra_tags
map(string)
{}
Add owner, cost center, data classification, and expiration tags.
Module Map
Module
Responsibility
Important outputs
modules/network
VPC, public/private subnets, routing, NAT toggle, EKS/data security groups