nanochat/terraform/modules/ecr/outputs.tf
Manmohan Sharma b381933c3b
feat(terraform): provision full AWS stack for samosaChaat (issue #4)
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>
2026-04-16 11:11:02 -07:00

15 lines
532 B
HCL

output "repository_urls" {
description = "Map of repository name → registry URL (used by CI/CD `docker push`)."
value = { for name, repo in aws_ecr_repository.this : name => repo.repository_url }
}
output "repository_arns" {
description = "Map of repository name → ARN."
value = { for name, repo in aws_ecr_repository.this : name => repo.arn }
}
output "registry_id" {
description = "Account ID hosting the registry (same for all repos)."
value = values(aws_ecr_repository.this)[0].registry_id
}