Closed oomichi closed 6 months ago
That seems due to internet access from the subnet.
still facing another issue:
$ aws eks describe-nodegroup --cluster-name test-cluster --nodegroup-name eks_nodegroup --region us-west-1
..
"issues": [
{
"code": "Ec2SubnetInvalidConfiguration",
"message": "One or more Amazon EC2 Subnets of [subnet-09b27c33b015862ee] for node group eks_nodegroup does not automatically assign public IP addresses to instances launched into it. If you want your instances to be assigned a public IP address, then you need to enable auto-assign public IP address for the subnet. See IP addressing in VPC guide: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip",
"resourceIds": [
"subnet-09b27c33b015862ee"
]
}
]
https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_vpc_subnet_module.html#parameters
map_public: true
works for the above issue.