[EKS] [Search/List Clusters by Tag]: It would be useful to search and list clusters by tag since we generate cluster names by random pet
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
**Tell us about your request**
We currently use random_pet generation for out cluster names so we don't always know what our cluster names are going to be. It would be helpful if we could get the datasources for `aws_eks_cluster` and `aws_eks_cluster_auth` via tags.
**Which service(s) is this request for?**
EKS
**Are you currently working around this issue?**
Currently we pull in the arn of the cluster using `aws_resourcegroupstaggingapi_resources` and tags. Then extract the cluster name from the arn.
Contributor guide
Research direction
No repository file or test is named. Start by reviewing the aws_eks_cluster and aws_eks_cluster_auth data sources and the aws_resourcegroupstaggingapi_resources workaround described in the issue; determine how tag-based lookup should expose cluster names and authentication data, then define acceptance tests for the requested behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100