about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/terraform-mode
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/emacs.d/snippets/terraform-mode')
-rw-r--r--users/glittershark/emacs.d/snippets/terraform-mode/variable11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/snippets/terraform-mode/variable b/users/glittershark/emacs.d/snippets/terraform-mode/variable
new file mode 100644
index 000000000000..e64175200f44
--- /dev/null
+++ b/users/glittershark/emacs.d/snippets/terraform-mode/variable
@@ -0,0 +1,11 @@
+# -*- mode: snippet -*-
+# name: variable
+# uuid:
+# key: var
+# condition: t
+# --
+variable "${1:name}" {
+  type = ${2:string}
+  ${3:default = ${4:default}}
+}
+$0
\ No newline at end of file