-
-
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
fix: Correct variable types to improve dynamic check correctness #2133
fix: Correct variable types to improve dynamic check correctness #2133
Conversation
guess the buttons on mobile don't do the same thing (or what I thought) 😅 |
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.
Looks logical to me. :)
### [18.26.2](v18.26.1...v18.26.2) (2022-07-01) ### Bug Fixes * Correct variable types to improve dynamic check correctness ([#2133](#2133)) ([2d7701c](2d7701c))
This PR is included in version 18.26.2 🎉 |
### [18.26.2](terraform-aws-modules/terraform-aws-eks@v18.26.1...v18.26.2) (2022-07-01) ### Bug Fixes * Correct variable types to improve dynamic check correctness ([terraform-aws-modules#2133](terraform-aws-modules#2133)) ([2d7701c](terraform-aws-modules@2d7701c))
### [18.26.2](terraform-aws-modules/terraform-aws-eks@v18.26.1...v18.26.2) (2022-07-01) ### Bug Fixes * Correct variable types to improve dynamic check correctness ([#2133](terraform-aws-modules/terraform-aws-eks#2133)) ([9c16be0](terraform-aws-modules/terraform-aws-eks@9c16be0))
This ( |
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
null
doesn't appear to work as expected, instead we can compare against number of elementsMotivation and Context
metadata_options
, the initial approach would be to setmetadata_options
=null
but this still results in metadata options being set, possibly due to this series within thetry()
block. However, if we instead change the type to be a default of{}
and check how many elements are within the map, we can now disable the creation ofmetadata_options
by setting it equal to{}
(has to be explicitly set to{}
due to default provided from security perspective https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf#L2)Breaking Changes
null
and the conditional logic updated to supportHow Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request