mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-13 11:20:21 +00:00
Add reusable Terraform modules and per-environment configs (dev/uat/prod) in us-west-2 covering: VPC (3 AZ public/private), EKS 1.29 with IRSA and ALB/EBS/EFS CSI add-ons, RDS PostgreSQL 15, four ECR repos, IAM roles (EKS node, ALB controller IRSA, GitHub Actions OIDC), Route53 + ACM for samosachaat.art, and EFS for model weights. State backend on S3 (samosachaat-terraform-state) with DynamoDB lock table. terraform validate passes for dev, uat, and prod. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
35 lines
794 B
HCL
35 lines
794 B
HCL
output "vpc_id" {
|
|
description = "VPC identifier."
|
|
value = module.vpc.vpc_id
|
|
}
|
|
|
|
output "vpc_cidr_block" {
|
|
description = "Primary CIDR block of the VPC."
|
|
value = module.vpc.vpc_cidr_block
|
|
}
|
|
|
|
output "private_subnet_ids" {
|
|
description = "Private subnet identifiers (one per AZ)."
|
|
value = module.vpc.private_subnets
|
|
}
|
|
|
|
output "public_subnet_ids" {
|
|
description = "Public subnet identifiers (one per AZ)."
|
|
value = module.vpc.public_subnets
|
|
}
|
|
|
|
output "private_subnet_cidrs" {
|
|
description = "Private subnet CIDR blocks."
|
|
value = module.vpc.private_subnets_cidr_blocks
|
|
}
|
|
|
|
output "azs" {
|
|
description = "AZs in use."
|
|
value = module.vpc.azs
|
|
}
|
|
|
|
output "natgw_ids" {
|
|
description = "NAT gateway identifiers."
|
|
value = module.vpc.natgw_ids
|
|
}
|