Overview This repo contains Terraform modules and environment examples to provision a production-like AWS VPC with public/private subnets, NAT gateways, route tables, and basic security groups. It's designed as a starting point for production IaC with modules and environment separation.
Structure
- modules/: reusable Terraform modules (vpc, subnets, nat, route_tables)
- environments/: dev/staging/prod examples
- main.tf, variables.tf, outputs.tf
Usage
- cd environments/prod
- terraform init
- terraform plan
- terraform apply
Notes
- Replace placeholder values with your AWS account and region.
- Do not store secrets in repo; use SSM/Secrets Manager in production.
- The modules are illustrative; adapt resource counts, instance types, and NAT/HA strategy for production.