Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Add support for EKS Addon Pod Identity Associations #38357

Closed
JoeNorth opened this issue Jul 12, 2024 · 5 comments · Fixed by #39973
Closed

[Enhancement]: Add support for EKS Addon Pod Identity Associations #38357

JoeNorth opened this issue Jul 12, 2024 · 5 comments · Fixed by #39973
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/eks Issues and PRs that pertain to the eks service.
Milestone

Comments

@JoeNorth
Copy link

JoeNorth commented Jul 12, 2024

Description

The EKS CreateAddon and UpdateAddon APIs have been updated to support adding a Pod Identity association to an addon using the podIdentityAssociations parameter.

Each API accepts this parameter in the form of:

{
   "podIdentityAssociations": [ 
      { 
         "roleArn": "string",
         "serviceAccount": "string"
      }
   ]
}

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

  • aws_eks_addon

Potential Terraform Configuration

resource "aws_eks_addon" "example" {
  cluster_name           = aws_eks_cluster.example.name
  addon_name             = "vpc-cni"
  pod_identity_associations = [
    {
      roleArn = aws_iam_role.vpc_cni.arn
      serviceAccount = "aws-node"
    }
  ]
}

References

CreateAddon - https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html#AmazonEKS-CreateAddon-request-podIdentityAssociations

UpdateAddon - https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html#AmazonEKS-UpdateAddon-request-podIdentityAssociations

Would you like to implement a fix?

No

@JoeNorth JoeNorth added the enhancement Requests to existing resources that expand the functionality or scope. label Jul 12, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/eks Issues and PRs that pertain to the eks service. label Jul 12, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jul 12, 2024
@bryantbiggs
Copy link
Contributor

on it

@aristosvo
Copy link
Contributor

@bryantbiggs I've taken a quick look as well, didn't know the best way to make up for the difference in input variables and the returned ID string in the response. Curious what the way to go is in the AWS provider for such situations!

Copy link

github-actions bot commented Nov 4, 2024

Warning

This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

Copy link

This functionality has been released in v5.75.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/eks Issues and PRs that pertain to the eks service.
Projects
None yet
4 participants