Skip to content

tflint fails to find any issues if it fails to check a rule #1665

Answered by wata727
tbutler-qontigo asked this question in Q&A
Discussion options

You must be logged in to vote

In this case, it is recommended to remove the default value:

variable "lb_details_path" {
  description = "Path of the file definining Load Balancer Rules"
}

Variables without defaults are treated as unknown values and TFLint does not raise an error.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wata727
Comment options

You must be logged in to vote
1 reply
@wata727
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1663 on February 02, 2023 15:01.