Skip to content

Commit c29c33e

Browse files
author
AWS Scripting Guy
committed
fixed launchtemplate snippet
1 parent 3834e31 commit c29c33e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

snippets/snippets.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
"description": "",
7272
"scope": "source.cloudformation"
7373
},
74+
75+
76+
7477
"codecommit-repository": {
7578
"prefix": "codecommit-repository",
7679
"body": "\r\n\"${1:codeCommitRepository}\": {\r\n \"Type\": \"AWS::CodeCommit::Repository\",\r\n \"Properties\": {\r\n \"RepositoryDescription\": \"${2}\",\r\n \"RepositoryName\": \"${3}\",\r\n \"Triggers\": [ \"${4}\" ],\r\n }\r\n}\r\n",
@@ -298,11 +301,13 @@
298301
"launch-template": {
299302
"prefix": "launch-template",
300303
"body": [
304+
"\"${1:launchTemplate\"}:{",
301305
" \"Type\":\"AWS::EC2::LaunchTemplate\",",
302306
"\t\"Properties\":{",
303-
"\t\t\"LaunchTemplateName\" : ${1:\"--\"},",
304-
"\t\t\"LaunchTemplateData\" : ${2:\"--\"}",
305-
"\t}"
307+
"\t\t\"LaunchTemplateName\" : ${2:\"--\"},",
308+
"\t\t\"LaunchTemplateData\" : ${3:\"--\"}",
309+
"\t}",
310+
"}"
306311
]
307312
},
308313
"logs-loggroup": {

0 commit comments

Comments
 (0)