Trying to use the language server integration for tflint along with the tflint-ruleset-google ruleset `v0.25.0.
Running the linter, standalone, with this ruleset and configuration works fine. But starting it in LSP mode has it fail with:
> /Users/ianchesal/.local/share/nvim/mason/bin/tflint --langserver
15:27:50 langserver.go:28: Starting language server...
15:27:50 langserver.go:32: Failed to start language server: fork/exec .tflint.d/plugins/github.com/terraform-linters/tflint-ruleset-google/0.25.0/tflint-ruleset-google: exec format error
I'm using tflin version:
> /Users/ianchesal/.local/share/nvim/mason/bin/tflint --version
TFLint version 0.48.0
And it's been installed via Mason in my NeoVIM environment. Mason is starting the server like so:
Summary
Trying to use the language server integration for
tflint
along with thetflint-ruleset-google
ruleset `v0.25.0.Running the linter, standalone, with this ruleset and configuration works fine. But starting it in LSP mode has it fail with:
I'm using
tflin
version:And it's been installed via Mason in my NeoVIM environment. Mason is starting the server like so:
Note: if I get rid of of my
.tflint.hcl
file, the LSP mode works as expected.Command
tflint --langserver
Terraform Configuration
TFLint Configuration
Output
TFLint Version
0.48.0
Terraform Version
No response
Operating System