hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.61k stars 8.99k forks source link

[New Data Source]: `aws_eks_access_policies` to return available EKS Access Policies #37065

Open lorengordon opened 2 months ago

lorengordon commented 2 months ago

Description

I would like a data source that returns all the available EKS Access Policies, essentially the results from aws eks list-access-policies. This would help simplify the constructs/logic around configuring EKS Access Policy Associations. It could also be used by module authors to validate user input.

Requested Resource(s) and/or Data Source(s)

Potential Terraform Configuration

data "aws_eks_access_policies" "this" {}

References

Would you like to implement a fix?

None

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue