expel-io / terraform-aws-eks

Terraform module for configuring EKS to integrate with Expel Workbench.
MIT License
0 stars 2 forks source link

Update IAM policy to allow node discovery #2

Closed dawhalen closed 1 year ago

dawhalen commented 1 year ago

This PR updates our EKS IAM policy to allow Expel to query AWS for information on nodes for EKS clusters. We do this by listing nodegroups for an EKS cluster, identifying the associated AutoScalingGroups, and describing those groups to get the instances currently part of the node pool.