Skip to content
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

Merged

Conversation

bryantbiggs
Copy link
Member

@bryantbiggs bryantbiggs commented Jun 30, 2022

Description

  • Correct variable types to improve dynamic check correctness. Comparing against null doesn't appear to work as expected, instead we can compare against number of elements

Motivation and Context

Breaking Changes

  • No; variable types are same as they are today, its just the default value has changed to not be null and the conditional logic updated to support

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
  • I have executed pre-commit run -a on my pull request

@bryantbiggs
Copy link
Member Author

guess the buttons on mobile don't do the same thing (or what I thought) 😅

Copy link
Member

@antonbabenko antonbabenko left a 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. :)

@bryantbiggs bryantbiggs merged commit 2d7701c into terraform-aws-modules:master Jul 1, 2022
@bryantbiggs bryantbiggs deleted the fix/dynamic-checks branch July 1, 2022 11:53
antonbabenko pushed a commit that referenced this pull request Jul 1, 2022
### [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))
@antonbabenko
Copy link
Member

This PR is included in version 18.26.2 🎉

spr-mweber3 pushed a commit to spring-media/terraform-aws-eks that referenced this pull request Jul 11, 2022
spr-mweber3 pushed a commit to spring-media/terraform-aws-eks that referenced this pull request Jul 11, 2022
baibailiha added a commit to baibailiha/terraform-aws-eks that referenced this pull request Sep 13, 2022
@morganrowse
Copy link

This (18.26.1 -> 18.26.2) broke our Terraform. Definitely a breaking change.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix: Allow setting metadata endpoint options so users can configure or disable
3 participants