You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with a fresh install of Ubuntu 22.04, using go1.18.1 linux/amd64, TFLint version 0.38.1, and pre-commit 2.19.0. Our team uses tflint with the tflint-ruleset-google plugin on a daily basis, and I had no problems in Ubuntu 20.04 previously.
While using tflint-ruleset-google versions 0.18.0 and 0.15.0, I get the following results:
When i run tflint --init fom the directory with .tflint.hcl I get no output.
When I run tflint --enable-plugin=google . from the same directory, the output looks like this - Failed to initialize plugins; TFLint is not compatible with this version of the "google" plugin. A newer TFLint or plugin version may be required. Plugin version: 9, Client versions: [10]
Terraform validate with tflint...........................................Failed
- hook id: terraform_tflint
- exit code: 1
TFLint in modules/blueprint.landingzone.application/:
Failed to initialize plugins; Plugin `google` not found. Did you run `tflint --init`?
Version 0.17.0 works for me.
The text was updated successfully, but these errors were encountered:
In v0.18.0, the protocol version is v10, so the "not compatible" error does not occur. That is, you may not be using v0.18.0.
Check the plugin version by referring to debug logs. For reference, the version of the plugin invoked by TFLint is selected from in .tflint.hcl in the directory where you executed the command.
I'm working with a fresh install of Ubuntu 22.04, using
go1.18.1 linux/amd64
,TFLint version 0.38.1
, andpre-commit 2.19.0
. Our team uses tflint with the tflint-ruleset-google plugin on a daily basis, and I had no problems in Ubuntu 20.04 previously.While using tflint-ruleset-google versions 0.18.0 and 0.15.0, I get the following results:
When i run
tflint --init
fom the directory with .tflint.hcl I get no output.When I run
tflint --enable-plugin=google .
from the same directory, the output looks like this -Failed to initialize plugins; TFLint is not compatible with this version of the "google" plugin. A newer TFLint or plugin version may be required. Plugin version: 9, Client versions: [10]
tflint fails with this message from pre-commit
using a hook as follows:
results in:
Version 0.17.0 works for me.
The text was updated successfully, but these errors were encountered: