-
Notifications
You must be signed in to change notification settings - Fork 21
Description
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]
-
tflint fails with this message from pre-commit
using a hook as follows:
- id: terraform_tflint
args:
- --args=--ignore-module=./examples
results in:
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.