Open ArchiFleKs opened 1 year ago
I ran into the same issue and digged into the code. I suppose it is due to relative paths that are passed to tflint via terragrunt.
I implemented the most recent version of tflint locally in terragrunt which solves the issue for me.
The underlaying current working dir
mode has changed in tflint since 0.44.0
I started working on #2418 with #2422
Commit 9711bf8b39662fd490ecc3ad69889bceb4609de3 adds a test that fails for tflint v0.42.2 and passes for v0.44.1
I have tried using the new integrated
tflint
on the following configuration without issue and theterraform-aws-aurora
module:Now I'm trying with
terraform-aws-eks
and I get the following errors:⚠️ The only difference is that the
terraform-aws-eks
is calling its own module.I'm having trouble with how one should use the integrated linter (even with the docs) and what the default config is.
For example if I run manually tflint binary in the
.terragrunt-cache
folder (using the same.tflint.hcl
config) it works without issue: