## Description While creating a EKS cluster if I were to give addresses in cluster_endpoint_public_access_cidrs , the nodegroup isnt able to join the cluster. Cluster creation reports the following error module.eks.module.eks_managed_node_group["default_node_group"].aws_eks_node_group.this[0]: Still creating... [26m41s elapsed] ╷ │ Error: error waiting for EKS Node Group (abc- default_node_group-20220210235029685300000001) to create: unexpected state 'CREATE_FAILED', wanted target 'ACTIVE'. last error: 1 error occurred: │ * i-053f38656f5925c75: NodeCreationFailure: Instances failed to join the kubernetes cluster If I were to change the cluster_endpoint_public_access_cidrs ( from 0.0.0.0/0 to any other ip) after the cluster creation it works fine ## ⚠️ Note Before you submit an issue, please perform the following first: 1. Remove the local `.terraform` directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): `rm -rf .terraform/` 2. Re-initialize the project root to pull down modules: `terraform init` 3. Re-attempt your terraform plan or apply and check if the issue still persists ## Versions <!-- REQUIRED --> - Terraform: 1.0.11 <!-- Execute terraform -version --> - Provider(s): <!-- Execute: terraform providers -version --> - Module: eks ## Reproduction <!-- REQUIRED --> Steps to reproduce the behavior: Create a cluster using the managed nodegroup example with a value set for cluster_endpoint_public_access_cidrs ### Code Snippet to Reproduce module "eks" { #source = "../.." source = "terraform-aws-modules/eks/aws" cluster_name = local.name cluster_version = local.cluster_version cluster_endpoint_private_access = true cluster_endpoint_public_access = true cluster_endpoint_public_access_cidrs = var.cluster_endpoint_public_access_cidrs ## Expected behavior Cluster creation should be successful and nodegroups should join the cluster ## Actual behavior I could see the ip addresses in Public access source allowlist of the cluster but I dont see the nodegroups under that as the terraform errors out stating NodeCreationFailure: Instances failed to join the kubernetes cluster ### Terminal Output Screenshot(s) Error: error waiting for EKS Node Group (eks:default_node_group-20220210235029685300000001) to create: unexpected state 'CREATE_FAILED', wanted target 'ACTIVE'. last error: 1 error occurred: │ * i-053f38656f5925c75: NodeCreationFailure: Instances failed to join the kubernetes cluster ## Additional context My requirement is to have a Nodegroup created in a private subnet ( SDWAN connected) and have them talk to the EKS cluster which has private and public endpoint. In the public endpoint I want to restrict the IP addresses which can connect to it.