diff --git a/examples/vpc-cni-custom-networking/main.tf b/examples/vpc-cni-custom-networking/main.tf index 5780036408..62c4a20483 100644 --- a/examples/vpc-cni-custom-networking/main.tf +++ b/examples/vpc-cni-custom-networking/main.tf @@ -80,7 +80,8 @@ module "eks" { } vpc_id = module.vpc.vpc_id - subnet_ids = module.vpc.private_subnets + # We only want to assign the 10.0.* range subnets to the data plane + subnet_ids = slice(module.vpc.private_subnets, 0, 3) control_plane_subnet_ids = module.vpc.intra_subnets eks_managed_node_groups = {