diff --git a/README.md b/README.md index a55c7f9..76ecf50 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ module "aws_eks_addons" { | [addon\_create\_vpc\_cni](#input\_addon\_create\_vpc\_cni) | Create vpc\_cni addon | `bool` | `true` | no | | [addon\_kube\_proxy\_version](#input\_addon\_kube\_proxy\_version) | Version for addon\_kube\_proxy\_version | `string` | `"v1.27.10-eksbuild.2"` | no | | [addon\_tags](#input\_addon\_tags) | Cluster addon tags | `map(string)` | `{}` | no | -| [addon\_vpc\_cni\_version](#input\_addon\_vpc\_cni\_version) | Version for addon\_create\_vpc\_cni | `string` | `"v1.17.1-eksbuild.1"` | no | +| [addon\_vpc\_cni\_version](#input\_addon\_vpc\_cni\_version) | Version for addon\_create\_vpc\_cni | `string` | `"v1.18.1-eksbuild.3"` | no | | [cluster\_name](#input\_cluster\_name) | Kubernetes cluster name - used to name (id) the auth0 resources | `any` | n/a | yes | | [cluster\_oidc\_issuer\_url](#input\_cluster\_oidc\_issuer\_url) | Used to create the IAM OIDC role | `string` | `""` | no | | [eks\_cluster\_id](#input\_eks\_cluster\_id) | trigger for null resource using eks\_cluster\_id | `any` | n/a | yes | diff --git a/variables.tf b/variables.tf index 47b7f2b..f955aa3 100644 --- a/variables.tf +++ b/variables.tf @@ -26,7 +26,7 @@ variable "addon_create_coredns" { } variable "addon_vpc_cni_version" { - default = "v1.17.1-eksbuild.1" + default = "v1.18.1-eksbuild.3" description = "Version for addon_create_vpc_cni" type = string } diff --git a/vpc-cni.tf b/vpc-cni.tf index 44f67dd..70ad711 100644 --- a/vpc-cni.tf +++ b/vpc-cni.tf @@ -58,6 +58,7 @@ resource "aws_eks_addon" "vpc_cni" { # Configure cni daemonset to support higher pod density https://docs.aws.amazon.com/eks/latest/userguide/cni-increase-ip-addresses.html ENABLE_PREFIX_DELEGATION = "true" WARM_PREFIX_TARGET = "1" + ENABLE_SUBNET_DISCOVERY = "false" # https://github.com/aws/amazon-vpc-cni-k8s/blob/8f9253e2e4452fe0e9e6a26a05675c8b7ae7a8fe/README.md?plain=1#L548 } })