terraform-aws-eks
terraform-aws-eks copied to clipboard
feat: Allow Karpenter access to IAM:PassRole more than one node role arn
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 -aon my pull request