mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-09 17:30:14 +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>
29 lines
783 B
HCL
29 lines
783 B
HCL
variable "domain_name" {
|
|
description = "Primary domain on the certificate (e.g. samosachaat.art)."
|
|
type = string
|
|
}
|
|
|
|
variable "subject_alternative_names" {
|
|
description = "SAN list (e.g. [\"*.samosachaat.art\"])."
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "wait_for_validation" {
|
|
description = "Block apply until DNS validation succeeds. Disable on first apply if Route53 records are created in the same plan."
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "validation_record_fqdns" {
|
|
description = "FQDNs of the DNS validation records (passed in from the route53 module)."
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "tags" {
|
|
description = "Tags applied to every resource."
|
|
type = map(string)
|
|
default = {}
|
|
}
|