Skip to content

Commit

Permalink
elastic ip and function if
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS Scripting Guy committed Aug 27, 2018
1 parent e23d68c commit e231419
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion snippets/yaml-snippets.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -104,7 +104,19 @@
" Tags:", " Tags:",
" - Key: ${9:key}", " - Key: ${9:key}",
" Value: ${10:value}" " Value: ${10:value}"
], ],
"description": "",
"scope": "source.cloudformation"
},
"eip-vpc": {
"prefix": "eip-vpc",
"body": [
"${1:eipName}:",
" Type: AWS::EC2::EIP",
" Properties:",
" Domain: vpc",
" InstanceId: ${2:instance-id}"
],
"description": "", "description": "",
"scope": "source.cloudformation" "scope": "source.cloudformation"
}, },
Expand Down Expand Up @@ -311,6 +323,14 @@
"description": "", "description": "",
"scope": "source.cloudformation" "scope": "source.cloudformation"
}, },
"if": {
"prefix": "if",
"body": [
"!If [condition_name, value_if_true, value_if_false]"
],
"description": "Intrinsic Function - If",
"scope": "source.cloudformation"
},
"ref": { "ref": {
"prefix": "ref", "prefix": "ref",
"body": "!Ref logicalName", "body": "!Ref logicalName",
Expand Down

0 comments on commit e231419

Please sign in to comment.