Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not format tfvariable file #47

Closed
en0x opened this issue Dec 22, 2017 · 3 comments
Closed

Do not format tfvariable file #47

en0x opened this issue Dec 22, 2017 · 3 comments

Comments

@en0x
Copy link

en0x commented Dec 22, 2017

Seems like with the version of 0.0.20 the "terraform.formatVarsOnSave" does no longer exist.
How with the new version I can disable formatting for tfvars files but leave it for tf files?

thank you

@mauve
Copy link
Contributor

mauve commented Dec 22, 2017

Sorry for breaking this feature, I will bring back that feature in 0.0.21 very soon.

@en0x
Copy link
Author

en0x commented Dec 27, 2017

@mauve thank you

@RowdyHowell
Copy link

For anyone in the future that missed the reference issue above like I did, the new way to do this is:

"terraform.format": {
    "ignoreExtensionsOnSave": [ ".tfvars" ]
}

@ghost ghost locked and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants