mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-19 14:17:36 +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>
15 lines
462 B
HCL
15 lines
462 B
HCL
output "zone_id" {
|
|
description = "Hosted zone ID for the apex domain."
|
|
value = data.aws_route53_zone.this.zone_id
|
|
}
|
|
|
|
output "name_servers" {
|
|
description = "Authoritative name servers (configure these at the registrar)."
|
|
value = data.aws_route53_zone.this.name_servers
|
|
}
|
|
|
|
output "apex_record_fqdn" {
|
|
description = "FQDN of the apex A record (empty until alb_dns_name is supplied)."
|
|
value = try(aws_route53_record.apex[0].fqdn, "")
|
|
}
|