-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: Add node_iam_role_arns
local variable to check for Windows platform on EKS managed nodegroups
#2477
feat: Add node_iam_role_arns
local variable to check for Windows platform on EKS managed nodegroups
#2477
Conversation
👍 |
can someone approve this :-) |
This PR has been automatically marked as stale because it has been open 30 days |
bump |
This PR has been automatically marked as stale because it has been open 30 days |
bump |
I would also greatly appreciate a review of this. Thanks! |
I've nearly submitted this exact same code in a different PR today. Even with today's master, the changes are the same. It would be great to get this reviewed and pulled in so managed windows node groups can be functional instances. |
Can we please get this reviewed and merged? It's really needed! |
how has this been tested and validated? |
+1 this PR would benefit us greatly |
PR was tested using the |
This looks good in some limited testing, given the problems this is currently causing I think it should be pulled in. |
+1 Can we please get this merged ? |
This PR has been automatically marked as stale because it has been open 30 days |
Would be really nice to see this merged. |
+1 Would be great to see this merged. |
node_iam_role_arns
local variable to check for Windows platform on EKS managed nodegroups
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be clear, this won't function the same as AL2 and Bottlerocket nodes (custom launch template and injection of user data) but hopefully it unblocks some folks
## [19.16.0](v19.15.4...v19.16.0) (2023-08-03) ### Features * Add `node_iam_role_arns` local variable to check for Windows platform on EKS managed nodegroups ([#2477](#2477)) ([adb47f4](adb47f4))
This PR is included in version 19.16.0 🎉 |
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. |
Description
This change adds additional checks for
platform == "windows"
on bothlocal.node_iam_role_arns_non_windows
andlocal.node_iam_role_arns_windows
.The additional validation in
local.node_iam_role_arns_windows
ensures that the correct configurations are added toaws-auth
.The additiional validation in
local.node_iam_role_arns_non_windows
ensures that terraform does not also create an extra incorrect entry inaws-auth
for the node group.To support this change, the eks_managed_node_group module has a new output (
platform
)Motivation and Context
Resolves the issue described in this comment from #2350
Breaking Changes
No breaking changes found during my testing.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request