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

38 lines
839 B
HCL

variable "name" {
description = "Filesystem name (used in tags and the creation token)."
type = string
}
variable "vpc_id" {
description = "VPC the mount targets live in."
type = string
}
variable "private_subnet_ids" {
description = "Private subnets that get mount targets (one per AZ)."
type = list(string)
}
variable "eks_node_security_group_id" {
description = "Node SG allowed to mount the filesystem."
type = string
}
variable "performance_mode" {
description = "EFS performance mode."
type = string
default = "generalPurpose"
}
variable "throughput_mode" {
description = "EFS throughput mode."
type = string
default = "bursting"
}
variable "tags" {
description = "Tags applied to every resource."
type = map(string)
default = {}
}