Closed jdobyns closed 2 years ago
Experienced this as well since brew
installed tflint 0.34.1
instead of the latest tflint 0.35.0
brew update && brew install tflint
or the Linux install script should pick up tflint 0.35.0
now (which seems required for the newer ruleset plugin versions)
Solved. Thank You @PatMyron
$ tflint -v
TFLint version 0.35.0
+ ruleset.aws (0.13.1)
So this isn't compatible with 0.35.0?
% git commit -m "bar"
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to /Users/me/.cache/pre-commit/patch1649438580-59146.
Terraform fmt............................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Failed
- hook id: terraform_tflint
- exit code: 1
Failed to initialize plugins; Incompatible API version with plugin "aws". Plugin version: 9, TFLint versions: [10]
[INFO] Restored changes from /Users/me/.cache/pre-commit/patch1649438580-59146.
% tflint -v
TFLint version 0.35.0
+ ruleset.aws (0.13.2)
Getting this when trying to init.