[Enhancement]: Simplify user management with aws_eks_access_entry and aws_eks_access_policy_association #41486
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
needs-triage
Waiting for first response or review from a maintainer.
service/eks
Issues and PRs that pertain to the eks service.
Description
Hello team,
The EKS resource aws_eks_access_policy_association along with aws_eks_access_entry is quite cumbersome.
As a user, an ideal scenario would be:
That would facilitate a lot the user management. Another solution would be to allow multiple policy arns and/or principal_arns with one policy association.
And finally, I believe there should be a datasource to pull the policy by names. Something like:
That would greatly improve readability, and be more robust in case of updates.
Thanks!
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_access_entry
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eks_access_policy_association
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: