Retrieve EKS Clusters list
data "aws_eks_clusters" "example" {}
data "aws_eks_cluster" "example" {
for_each = toset(data.aws_eks_clusters.example.names)
name = each.value
}
This data source exports the following attributes in addition to the arguments above:
id
- AWS Region.names
- Set of EKS clusters names