Skip to content

Commit

Permalink
fix: Ensure only the 10.0.* subnet range is assigned to nodes for `vp…
Browse files Browse the repository at this point in the history
…c-cni-custom-networking` example (#1315)
  • Loading branch information
bryantbiggs authored Jan 10, 2023
1 parent d5d8d1d commit dbac512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/vpc-cni-custom-networking/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit dbac512

Please sign in to comment.