I am trying to test a pipeline change that will run tflint automatically, but I'm struggling to find an example of an error that won't prevent terraform init
from completing without errors but will be caught by tflint --module
. My goal is to prove that tflint is running is running in the pipeline and will fail any pipeline that finds linting errors. Any ideas?
I know there must be lots of examples, or tflint wouldn't exist - but I'm not running across them right now.
Examples of things I've tried so far: tflint doesn't catch white space or using dashes when underlines are more 'correct' (or is this a config issue on my part?), terraform init
doesn't tolerate single quotes or misnamed modules.