terraform-aws-modules / terraform-aws-iam

Terraform module to create AWS IAM resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/iam/aws
Apache License 2.0
787 stars 997 forks source link

feat: Update IAM policy for AWS Load Balancer Controller to support Listener Attributes #525

Closed jstewart612 closed 2 weeks ago

jstewart612 commented 2 weeks ago

Description

This PR is to update the iam-role-for-service-accounts-eks module to add additional permissions when attach_load_balancer_controller_policy is set to true.

Motivation and Context

Addresses https://github.com/terraform-aws-modules/terraform-aws-iam/issues/524. Stems from upstream updates to https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/docs/install/iam_policy.json that have not yet been ported into this module.

Resolves #524

Breaking Changes

None

How Has This Been Tested?

jstewart612 commented 2 weeks ago

@aleskiontherun suggestions committed.

antonbabenko commented 2 weeks ago

This PR is included in version 5.46.0 :tada:

jstewart612 commented 2 weeks ago

@bryantbiggs will do shortly

jstewart612 commented 2 weeks ago

https://github.com/terraform-aws-modules/terraform-aws-eks-pod-identity/issues/18 filed to address it there. PR to fix it there will be linked there @bryantbiggs .