Remove unused values in tfvars #151
tpoindessous
started this conversation in
Ideas
Replies: 1 comment
-
The current autofix design fixes reported issues and does not provide additional assistance like this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Thanks for your tool ! I can work on refactoring my TF code.
I'm able to remove unused variables declarations in variables.tf with this command-line :
tflint --config=$HOME/.tflint.hcl --var-file=tfvars/ENV.tfvars --fix --enable-rule=terraform_unused_declarations
But when I try to do a TF plan, I got
and I would be more than happy to remove these lines automaticaly with tflint 😄
Is it already possible or is it a new feature to add ?
Thanks for your work.
Have a nice day.
Beta Was this translation helpful? Give feedback.
All reactions