-
Notifications
You must be signed in to change notification settings - Fork 358
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 gob encoder error on unknown value #1041
Conversation
Umm, I understand this bug, but this fix makes it impossible for plugins to handle variables as unknown. Maybe gob is not a good way to transfer |
Ok, good point, will look at it |
Think those changes and terraform-linters/tflint-plugin-sdk#96 should do the trick |
Merged terraform-linters/tflint-plugin-sdk#96. Could you update the sdk version in this PR? |
Done! |
a36577e
to
133c5b6
Compare
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.
👍
When using Config() method with
--module
option you can get cty.unknownType inside module variables without default values and following error:This fix forces cty.Value{} in case of unknown value