-
-
Notifications
You must be signed in to change notification settings - Fork 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
fix: Skip retrieving EKS cluster data when not creating the role #436
fix: Skip retrieving EKS cluster data when not creating the role #436
Conversation
This PR has been automatically marked as stale because it has been open 30 days |
not stale ... |
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.
Nice
Co-authored-by: Anton Babenko <anton@antonbabenko.com>
### [5.33.1](v5.33.0...v5.33.1) (2024-01-18) ### Bug Fixes * Skip retrieving EKS cluster data when not creating the role ([#436](#436)) ([bcdf554](bcdf554))
This PR is included in version 5.33.1 🎉 |
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
Adds an additional conditional in the existing
for_each
for reading the EKS cluster data and constructing part of the policy document.(I suppose the whole policy document can be skipped if there's no role being created... but no harm done in keeping it in, didn't want to break other things.)
Motivation and Context
Fixes #324
Breaking Changes
No breaking changes afaik, only adds hardening in the need for the execution of certain resources.
How Has This Been Tested?
Tested with the following code (module is local fork, at the
v5.5.1
tag).Also toggled the
create_role
to true to validate that the old flow still functions.pre-commit run -a
on my pull request