-
-
Notifications
You must be signed in to change notification settings - Fork 243
fix: Correct timeouts variable type definition from optional(bool) to optional(string)
#150
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 timeouts variable type definition from optional(bool) to optional(string)
#150
Conversation
timeouts variable type definition from optional(bool) to optional(string)
|
Christ what does this want from me, I have a day job to get back to. FIX:? Fix:? fix:? fix: Capitalized? |
|
|
Thanks! I just got it myself on the last attemt, after looking at another PR, but your rename made it a no-op. |
bryantbiggs
left a comment
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.
thank you!
## [3.0.2](v3.0.1...v3.0.2) (2025-10-28) ### Bug Fixes * Correct `timeouts` variable type definition from `optional(bool)` to `optional(string)` ([#150](#150)) ([cb116df](cb116df))
|
This PR is included in version 3.0.2 🎉 |
|
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
The type for the variable 'timeouts' is incorrect. When it is passed to the "aws_ec2_transit_gateway" resource, which requires a map of strings, not booleans, it breaks. This probably got missed because timeouts is not in the complete example (I added it there)
Motivation and Context
The 3.0.0 version introduced a very odd change to the variables, switching timeouts type from
map(any)to an object of bools. Makes no sense, and doesn't work at all with theaws_ec2_transit_gatewayresource. The issue would only be detected if the module is used to create a transit gateway with specific timeouts set.Breaking Changes
None.
How Has This Been Tested?
examples/complete/main.tfto demonstrate and validate my change(s)pre-commit run -aon my pull request