Last active
September 21, 2022 18:12
-
-
Save davenicoll/12146c38266dba09c8eab1904e6a12e3 to your computer and use it in GitHub Desktop.
VSCode repository specific settings for Terraform (matches terraform fmt)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the hashicorp terraform vscode extension, save this to .vscode/settings.json, and remove this comment line | |
{ | |
"[terraform]": { | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "hashicorp.terraform", | |
"editor.tabSize": 2 | |
}, | |
"[terraform-vars]": { | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "hashicorp.terraform", | |
"editor.tabSize": 2 | |
}, | |
"terraform.experimentalFeatures.validateOnSave": true, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment