about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/terraform-mode/variable
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-03-30T20·34-0400
committerglittershark <grfn@gws.fyi>2021-03-30T22·50+0000
commit9b973c201120d7168611134f4aa4d6536f9ccd38 (patch)
tree4075f01a912d3d661b8186cbce7e6430b7bd2502 /users/glittershark/emacs.d/snippets/terraform-mode/variable
parent6749267805fd824bcfafc0b81e1dd9c2b6180f09 (diff)
feat(gs/emacs): Add terraform config r/2366
Change-Id: I9266ed310024a2a9437ea983dfdf27b8a395c924
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2707
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/emacs.d/snippets/terraform-mode/variable')
-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