This is a slightly modified version of the EKS demo from https://learn.hashicorp.com/terraform/aws/eks-intro.
This example provides a 3 availability zone worker nodes installation for better resilency.
See the article https://medium.com/manikkothu/set-up-resilient-kubernetes-cluster-in-aws-eks-using-terraform-7fe5a43fb23f for more details.