If I analyse this with tflint 0.45.0 then, for each variable, the start and end line are correctly reported as the same value for each one - e.g. resource_group_location has a startLine and endLine of `3.
Analyzing the same file with tflint 0.46.0, all issues are reporting the correct startLine but endLine is reported as 1 in all cases.
Summary
Given a simple
variables.tf
file:If I analyse this with tflint
0.45.0
then, for each variable, the start and end line are correctly reported as the same value for each one - e.g.resource_group_location
has astartLine
andendLine
of `3.Analyzing the same file with tflint
0.46.0
, all issues are reporting the correctstartLine
butendLine
is reported as1
in all cases.Command
tflint.exe --config ./.tflint.ci.hcl --format=sarif
Terraform Configuration
TFLint Configuration
Output
0.46.0
- incorrect:The same happens for all other variables