This Terraform module provisions and configures Amazon Elastic Kubernetes Service clusters and related AWS resources from infrastructure code.
Overview
The AWS EKS Terraform module creates Amazon EKS Kubernetes infrastructure as part of a Terraform configuration. It is published on the Terraform Registry for teams that manage AWS with HashiCorp Terraform or compatible tools.
It supports cluster setups including EKS Auto Mode, managed and self-managed node groups, Fargate profiles, provisioned control plane tiers, hybrid nodes, cluster access entries, add-ons, IAM integrations, security groups, and optional EFA networking when enabled on clusters and node groups.
Submodules cover managed node groups, Fargate profiles, KMS integration, and hybrid node roles. Documentation includes upgrade guides, compute and networking notes, and example configurations for auto mode, capabilities, hybrid nodes, and varied node group strategies.
You reference the module from Terraform, supply VPC and subnet identifiers, and apply changes with standard Terraform workflows. It is a building block for Kubernetes on AWS, not a running cluster by itself until applied in your account.
Key features
- EKS cluster creation
- EKS Auto Mode support
- Managed node groups submodule
- Self-managed node groups
- Fargate profile submodule
- Cluster access entries
- Add-on configuration map
- Hybrid nodes and EFA options
Use cases
- Declarative EKS cluster provisioning
- Node pool and Fargate setups
- IAM-linked cluster access control
- Hybrid and remote worker attachment
- GPU or EFA workload clusters