nanochat/terraform/modules/efs/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

27 lines
710 B
HCL

output "file_system_id" {
description = "EFS filesystem ID — pass to the EFS CSI driver StorageClass."
value = aws_efs_file_system.this.id
}
output "file_system_arn" {
description = "Filesystem ARN."
value = aws_efs_file_system.this.arn
}
output "dns_name" {
description = "Mount DNS name."
value = "${aws_efs_file_system.this.id}.efs.${data.aws_region.current.name}.amazonaws.com"
}
output "access_point_id" {
description = "Access point for the model-weights directory."
value = aws_efs_access_point.model_weights.id
}
output "security_group_id" {
description = "EFS security group."
value = aws_security_group.efs.id
}
data "aws_region" "current" {}