Closed freddd closed 3 years ago
Yes, the plugin system doesn't support JSON syntax now. See also https://github.com/terraform-linters/tflint-plugin-sdk/issues/32.
Fortunately, the changes needed to support this have recently been merged into hashicorp/hcl. Therefore, if the next HCL version is released and a Terraform that uses it is released, we will be able to support this.
Alright! Thanks for the quick reply, we'll keep an eye out for the next version. We are looking forward to using and contributing to tflint
and the gcp plugin.
Hi @wata727,
I was experimenting a bit with the plugin and tried to run it on a few
tf.json
files and got the following error message:I've been able to run
tflint
on AWS resources that aretf.json
. Is the error message because the plugin is experimental?Here is the
tf.json
file: