Built-in node pools
EKS Auto Mode ships with two built-in node pool configurations that cover the most common workload patterns:| Node Pool | Purpose |
|---|---|
general-purpose | Standard application workloads — balanced compute, memory, and networking |
system | Core EKS system components (CoreDNS, kube-proxy, VPC CNI, etc.) |
compute_config.node_pools:
Basic example
Custom node pools only
If you want to define your own Karpenter-style node pools without using the built-in EKS Auto Mode pools, setcreate_auto_mode_iam_resources = true and omit node_pools:
create_auto_mode_iam_resources is useful when you are managing your own node pools and need the EKS Auto Mode node IAM role and associated policy attachments without relying on built-in node pools.
IAM resources
When EKS Auto Mode is enabled, the module creates the following IAM resources by default:- An IAM role (
aws_iam_role.eks_auto) with theAmazonEKSAutoNodePolicyandAmazonEC2ContainerRegistryPullOnlypolicies attached - Policy attachments for any additional policies supplied via
node_iam_role_additional_policies - Optional permissions for custom tags on resources created by EKS Auto Mode (enabled by
enable_auto_mode_custom_tags, defaulttrue)
| Variable | Default | Description |
|---|---|---|
create_node_iam_role | true | Create the EKS Auto Mode node IAM role |
node_iam_role_name | null | Custom name for the node IAM role |
node_iam_role_additional_policies | {} | Extra policy ARNs to attach to the node role |
create_auto_mode_iam_resources | false | Create IAM resources for custom node pools without built-in pools |
enable_auto_mode_custom_tags | true | Enable permissions for custom tagging of EKS Auto Mode resources |
Disabling EKS Auto Mode
compute_config variable reference
The compute_config variable accepts the following attributes:
EKS Auto Mode with Hybrid Nodes
EKS Auto Mode can coexist with EKS Hybrid Nodes. A common configuration enables thesystem node pool for core EKS components while hybrid nodes handle on-premises workloads:
