Last active
January 21, 2022 10:00
-
-
Save wonderb0lt/b299897cae114a9d82a0920495bec540 to your computer and use it in GitHub Desktop.
A less bad terraform var snippet
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
{ | |
"Empty Variable (wonderb0lt)": { | |
"prefix": "varx", | |
"body": [ | |
"variable \"${1:name}\" {", | |
"\ttype = ${2|string,number,bool,set(string)|}", | |
"\t${3:description = \"${4:(optional) describe your variable}\"}", | |
"\t${5:default = \"${6:default_value}\"}", | |
"}" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment