Replies: 1 comment 1 reply
-
This is due to an update the bundled plugin to v0.5.0. #1883
Unfortunately, you cannot reproduce the same behavior as before without disabling the warning, but if you want to leave the variable for future use, the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Terraform module defining common variables and their validation, which is used by all other modules (through a symbolic link). For example, the module looks like the following:
In other words all variables have validation and some variables have more complex validation through output precondition. With tflint 0.48.0 this code was not producing any error or warning, but with 0.49.0 I now have:
Although, I find nothing about this change in the release notes, I see the reason for it, e.g. using variable in output is real usage, but I would like to have the previous behavior without having to disable the warning. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions