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 996 forks source link

feat: Allow setting additional role arns to trust policy in iam-role-for-service-accounts-eks #450

Closed ottramst closed 8 months ago

ottramst commented 9 months ago

Description

This changes allows the user to pass role ARN's into the iam-role-for-service-accounts-eks module for allowing additional IAM roles to assume the created role.

Motivation and Context

This change helps to facilitate some more complex setups in EKS where other roles need to access the IRSA enabled role.

For example: Keda autoscaler with pod identity authentication, where the Keda operator Pod (with IRSA enabled) will access the target (ScaledObject) Pod's attached role.

Breaking Changes

None

How Has This Been Tested?

github-actions[bot] commented 8 months ago

This PR has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this PR will be closed in 10 days

github-actions[bot] commented 8 months ago

This PR was automatically closed because of stale in 10 days

github-actions[bot] commented 7 months ago

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.