Skip to content

Commit e231419

Browse files
author
AWS Scripting Guy
committed
elastic ip and function if
1 parent e23d68c commit e231419

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

snippets/yaml-snippets.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,19 @@
104104
" Tags:",
105105
" - Key: ${9:key}",
106106
" Value: ${10:value}"
107-
],
107+
],
108+
"description": "",
109+
"scope": "source.cloudformation"
110+
},
111+
"eip-vpc": {
112+
"prefix": "eip-vpc",
113+
"body": [
114+
"${1:eipName}:",
115+
" Type: AWS::EC2::EIP",
116+
" Properties:",
117+
" Domain: vpc",
118+
" InstanceId: ${2:instance-id}"
119+
],
108120
"description": "",
109121
"scope": "source.cloudformation"
110122
},
@@ -311,6 +323,14 @@
311323
"description": "",
312324
"scope": "source.cloudformation"
313325
},
326+
"if": {
327+
"prefix": "if",
328+
"body": [
329+
"!If [condition_name, value_if_true, value_if_false]"
330+
],
331+
"description": "Intrinsic Function - If",
332+
"scope": "source.cloudformation"
333+
},
314334
"ref": {
315335
"prefix": "ref",
316336
"body": "!Ref logicalName",

0 commit comments

Comments
 (0)