mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-10 09:50:25 +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
1001 B
HCL
35 lines
1001 B
HCL
output "cluster_name" {
|
|
description = "EKS cluster name."
|
|
value = module.eks.cluster_name
|
|
}
|
|
|
|
output "cluster_endpoint" {
|
|
description = "EKS API server endpoint."
|
|
value = module.eks.cluster_endpoint
|
|
}
|
|
|
|
output "cluster_certificate_authority_data" {
|
|
description = "Base64-encoded cluster CA certificate."
|
|
value = module.eks.cluster_certificate_authority_data
|
|
}
|
|
|
|
output "cluster_security_group_id" {
|
|
description = "Cluster control-plane security group."
|
|
value = module.eks.cluster_security_group_id
|
|
}
|
|
|
|
output "node_security_group_id" {
|
|
description = "Security group attached to managed node group ENIs (used by RDS / EFS to allow inbound traffic from nodes)."
|
|
value = module.eks.node_security_group_id
|
|
}
|
|
|
|
output "oidc_provider_arn" {
|
|
description = "IRSA OIDC provider ARN."
|
|
value = module.eks.oidc_provider_arn
|
|
}
|
|
|
|
output "oidc_provider_url" {
|
|
description = "IRSA OIDC issuer URL (without https://)."
|
|
value = module.eks.oidc_provider
|
|
}
|