terraform-aws-eks-node-group
terraform-aws-eks-node-group copied to clipboard
Change validation of put response hop limit to allow `1` as value to limit access to worker node's metadata endpoint
what
- Change validation of
metadata_http_put_response_hop_limitvariable to allow to set1as value.
why
- as standing in EKS best practises to limit access to worker node's metadata endpoint it's required to enable
metadata_http_tokens_requiredand setmetadata_http_put_response_hop_limitto 1 - see https://aws.github.io/aws-eks-best-practices/security/docs/iam/#restrict-access-to-the-instance-profile-assigned-to-the-worker-node
aws ec2 modify-instance-metadata-options --instance-id <value> --http-tokens required --http-put-response-hop-limit 1
/test all
/test all
Any hope of getting this PR merged?