tflint --chdir option does not work? #2467
Unanswered
yannik1999
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@yannik1999 did you try with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to change to a specific directory when using tflint. To do that, I use this in the megalint config:
TERRAFORM_TFLINT_ARGUMENTS: "--chdir=/tmp/lint/environments/production/application"
But when I do that, I just get an error:
Cannot use --chdir and directory argument at the same time.
I think this is related to some new versions in tflint (release 0.45).
https://github.com/terraform-linters/tflint/pull/1678/commits
I'm using Megalinter in Azure Pipelines.
MegaLinter Version:
v6
TFLint Version
0.45.0
Terraform Version:
Operating System
Beta Was this translation helpful? Give feedback.
All reactions