Originally published at:

This Terraform module provisions AWS resources (e.g. AutoScaling Group, IAM Role, and Security Group for EKS Workers) to run EC2 worker nodes for the Elastic Container Service for Kubernetes.

It is instantiated multiple times to create many EKS worker node pools with specific settings (e.g. GPUs, EC2 instance types, or autoscale parameters).