hearth/terraform/modules/eks/variables.tf
Eric Garcia e78000831e Initial commit: Port infrastructure from coherence-mcp
Hearth is the infrastructure home for the letemcook ecosystem.

Ported from coherence-mcp/infra:
- Terraform modules (VPC, EKS, IAM, NLB, S3, storage)
- Kubernetes manifests (Forgejo, ingress, cert-manager, karpenter)
- Deployment scripts (phased rollout)

Status: Not deployed. EKS cluster needs to be provisioned.

Next steps:
1. Bootstrap terraform backend
2. Deploy phase 1 (foundation)
3. Deploy phase 2 (core services including Forgejo)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 06:06:13 -05:00

89 lines
1.9 KiB
HCL

# EKS Module - Variables
# RFC 0039: ADR-Compliant Foundation Infrastructure
variable "cluster_name" {
description = "Name of the EKS cluster"
type = string
}
variable "cluster_version" {
description = "Kubernetes version for EKS"
type = string
default = "1.29"
}
variable "vpc_id" {
description = "VPC ID"
type = string
}
variable "private_subnet_ids" {
description = "List of private subnet IDs"
type = list(string)
}
variable "public_subnet_ids" {
description = "List of public subnet IDs"
type = list(string)
}
variable "enable_karpenter" {
description = "Enable Karpenter for auto-scaling nodes"
type = bool
default = true
}
variable "enable_fips" {
description = "Enable FIPS 140-2 compliance mode"
type = bool
default = true
}
variable "enable_public_access" {
description = "Enable public access to EKS API endpoint"
type = bool
default = true
}
variable "public_access_cidrs" {
description = "CIDR blocks allowed to access EKS API endpoint"
type = list(string)
default = ["0.0.0.0/0"]
}
# Addon versions - update these as new versions are released
variable "vpc_cni_version" {
description = "VPC CNI addon version"
type = string
default = "v1.16.0-eksbuild.1"
}
variable "coredns_version" {
description = "CoreDNS addon version"
type = string
default = "v1.11.1-eksbuild.6"
}
variable "kube_proxy_version" {
description = "kube-proxy addon version"
type = string
default = "v1.29.0-eksbuild.1"
}
variable "ebs_csi_version" {
description = "EBS CSI driver addon version"
type = string
default = "v1.26.1-eksbuild.1"
}
variable "ebs_csi_role_arn" {
description = "IAM role ARN for EBS CSI driver (IRSA)"
type = string
default = null
}
variable "tags" {
description = "Tags to apply to all resources"
type = map(string)
default = {}
}