-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terraform_deprecated_index fails to parse .tf.json
#100
Comments
.tf.json
This is resolved in https://github.com/terraform-linters/tflint-ruleset-terraform/releases/tag/v0.3.0 by #90. If you go ahead and specify that plugin version and run Otherwise, it's already been updated in TFLint's base branch by Dependabot as well, and so the next CLI release will bundle 0.3.0 or later. |
See also #101, prompted by this I noticed that there were false negatives for JSON files. My first step there was adding test coverage against valid cases, including one comparable to yours, which confirmed they are already fixed. But then I was also able to restore detection of legacy syntax too. |
Derp! I didn't bother to realize that there's a separate plugin for HCL itself. Thanks. |
All good, it's bundled, so you don't have to notice out of the box. But like I said, a good idea anyway, and will get you patched up immediately. |
Summary
When escaping quotes in
.tf.json
files,tflint
has a bad day:This looks like the same issue as terraform-linters/tflint#694.
Command
tflint
Terraform Configuration
TFLint Configuration
# No config/default.
Output
TFLint Version
0.46.1
Terraform Version
1.4.6
Operating System
The text was updated successfully, but these errors were encountered: