Terraform Modular EKS + Istio — Part 3
EKS Cluster Module (What Actually Creates Kubernetes) After setting up VPC and IAM, the next step is creating the actual Kubernetes control plane using Amazon EKS. This module is responsible for: C...

Source: DEV Community
EKS Cluster Module (What Actually Creates Kubernetes) After setting up VPC and IAM, the next step is creating the actual Kubernetes control plane using Amazon EKS. This module is responsible for: Creating the EKS cluster Configuring networking Enabling authentication Setting up OIDC (required for IRSA) 📂 Module Files modules/eks-cluster/ ├── main.tf ├── variables.tf └── outputs.tf 📄 variables.tf variable "cluster_name" { description = "Name of the EKS cluster" type = string } variable "cluster_version" { description = "Kubernetes version" type = string default = "1.29" } variable "cluster_role_arn" { description = "ARN of the EKS cluster IAM role" 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) } 🧠 What this module expects This module doesn’t create everything itself. It depends on: VPC module → for subnets IAM module → for clu