Closed mg-alanjones closed 3 months ago
Also the line 1 comment link in the .tflint.hcl is dead. I believe it should be https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/config.md.
What do you think should be used a default config file for projects not having any config done yet?
Sorry, not sure what you mean. I meant the argument name should be updated. Rest of the configuration can stay as it is.
What do you think is the better option?
I think it should be changed to call_module_type = "local"
, local modules should be scanned.
Let's go with that then!
Describe the bug The default .tflint.hcl is using a deprecated argument. See screenshots below. The error message occurs for each error that TFLint finds, meaning it can get quite lengthy if there are lots of errors.
Potential solutions are:
module = false
tocall_module_type = "none"
module = false
, which means by default it will becall_module_type = "local"
To Reproduce Steps to reproduce the behavior:
Expected behavior This error should not occur because the argument should be updated.
Screenshots