`terraform fmt` should not be executed on .tfvars
ikuwow opened this issue · 1 comments
ikuwow commented
dimbleby commented
The issue you link to seems to say the opposite of what your issue title says - that other issue is complaining that .tfvars
are ignored, whereas you are asking for that to happen.
Either way: terraform fmt
currently does format .tfvars
files, and I don't see it as this plugin's place to overrule that.
If you don't want to format your .tfvars
files then you can:
- (if you don't want to format-on-save then there's nothing to do, just don't format files that you don't want to format)
- disable
terraform_fmt_on_save
- replace it with your own autocmd similar to the one that this plugin uses, but not including
*.tfvars