terraform-aws-eks icon indicating copy to clipboard operation
terraform-aws-eks copied to clipboard

feat: Allow Karpenter access to IAM:PassRole more than one node role arn

Open toneill818 opened this issue 5 months ago β€’ 0 comments

Description

Option to pass extra ARNs that can be used as instance profiles to Karpenter's policy. Fixes Issue #3371

Motivation and Context

When creating a cluster with a mix of Windows and Linux nodes and using Access Entries we need two IAM Roles. One for the Windows instances that has an access entry of type EC2_WINDOWS and one for the Linux instances with an access entry of type EC2_LINUX.

How Has This Been Tested?

  • [ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • [ ] I have tested and validated these changes using one or more of the provided examples/* projects
  • [ X ] I have executed pre-commit run -a on my pull request

toneill818 avatar Jun 10 '25 11:06 toneill818