Skip to content

Commit 9500a0b

Browse files
JiriJiri
Jiri
authored and
Jiri
committed
0.0.10 released
1 parent 95fe027 commit 9500a0b

File tree

3 files changed

+30
-25
lines changed

3 files changed

+30
-25
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ Download **cform-latest.vsix** file from GitHub repo for manual install
4141
Changelog
4242
-------------------
4343

44+
0.0.10
45+
* start snippet correction
46+
* lambda support
47+
* function IF
48+
4449
0.0.8
4550
* corrected issue with missing language mode UI
4651
* added latest .vsix to GitHub repo for manual install

cform-latest.vsix

601 Bytes
Binary file not shown.

snippets/snippets.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -259,30 +259,30 @@
259259
"description": "",
260260
"scope": "source.cloudformation"
261261
},
262-
"lambda-alias": {
263-
"prefix": "lambda-alias",
264-
"body": "\r\n\"${1:lambdaAlias}\": {\r\n \"Type\": \"AWS::Lambda::Alias\",\r\n \"Properties\": {\r\n \"FunctionName\": \"${2}\",\r\n \"FunctionVersion\": \"${3}\",\r\n \"Name\": \"${4}\",\r\n \"Description\": \"${5}\"\r\n }\r\n}\r\n",
265-
"description": "",
266-
"scope": "source.cloudformation"
267-
},
268-
"lambda-function": {
269-
"prefix": "lambda-function",
270-
"body": "\r\n\"${1:lambdaFunction}\": {\r\n \"Type\": \"AWS::Lambda::Function\",\r\n \"Properties\": {\r\n \"Code\": {\r\n \"S3Bucket\": \"${2}\",\r\n \"S3Key\": \"${3}\",\r\n \"S3ObjectVersion\": \"${4}\",\r\n \"ZipFile\": \"${5}\"\r\n },\r\n \"Handler\": \"${6}\",\r\n \"Role\": \"${7}\",\r\n \"Runtime\": \"${8}\",\r\n \"FunctionName\": \"${9}\",\r\n \"MemorySize\": ${10:128},\r\n \"Timeout\": ${11:5},\r\n \"KmsKeyArn\": \"${12}\",\r\n \"Environment\": {\r\n \"Variables\": {\r\n \"\":\"\",\r\n \"\":\"\"\r\n }\r\n },\r\n \"VpcConfig\": {\r\n \"SecurityGroupIds\": [ ],\r\n \"SubnetIds\": [ ]\r\n },\r\n \"Description\": \"${13}\"\r\n }\r\n}\r\n",
271-
"description": "",
272-
"scope": "source.cloudformation"
273-
},
274-
"lambda-permission": {
275-
"prefix": "lambda-permission",
276-
"body": "\r\n\"${1:lambdaPermission}\": {\r\n \"Type\": \"AWS::Lambda::Permission\",\r\n \"Properties\": {\r\n \"Action\": \"${2}\",\r\n \"FunctionName\": \"${3}\",\r\n \"Principal\": \"${4}\",\r\n \"SourceAccount\": \"${5}\",\r\n \"SourceArn\": \"${6}\"\r\n }\r\n}\r\n",
277-
"description": "",
278-
"scope": "source.cloudformation"
279-
},
280-
"lambda-version": {
281-
"prefix": "lambda-version",
282-
"body": "\r\n\"${1:lambdaVersion}\": {\r\n \"Type\": \"AWS::Lambda::Version\",\r\n \"Properties\": {\r\n \"CodeSha256\": \"${2}\",\r\n \"Description\": \"${3}\",\r\n \"FunctionName\": \"${4}\"\r\n }\r\n}\r\n",
283-
"description": "",
284-
"scope": "source.cloudformation"
285-
},
262+
"lambda-alias": {
263+
"prefix": "lambda-alias",
264+
"body": "\r\n\"${1:lambdaAlias}\": {\r\n \"Type\": \"AWS::Lambda::Alias\",\r\n \"Properties\": {\r\n \"FunctionName\": \"${2}\",\r\n \"FunctionVersion\": \"${3}\",\r\n \"Name\": \"${4}\",\r\n \"Description\": \"${5}\"\r\n }\r\n}\r\n",
265+
"description": "",
266+
"scope": "source.cloudformation"
267+
},
268+
"lambda-function": {
269+
"prefix": "lambda-function",
270+
"body": "\r\n\"${1:lambdaFunction}\": {\r\n \"Type\": \"AWS::Lambda::Function\",\r\n \"Properties\": {\r\n \"Code\": {\r\n \"S3Bucket\": \"${2}\",\r\n \"S3Key\": \"${3}\",\r\n \"S3ObjectVersion\": \"${4}\",\r\n \"ZipFile\": \"${5}\"\r\n },\r\n \"Handler\": \"${6}\",\r\n \"Role\": \"${7}\",\r\n \"Runtime\": \"${8}\",\r\n \"FunctionName\": \"${9}\",\r\n \"MemorySize\": ${10:128},\r\n \"Timeout\": ${11:5},\r\n \"KmsKeyArn\": \"${12}\",\r\n \"Environment\": {\r\n \"Variables\": {\r\n \"\":\"\",\r\n \"\":\"\"\r\n }\r\n },\r\n \"VpcConfig\": {\r\n \"SecurityGroupIds\": [ ],\r\n \"SubnetIds\": [ ]\r\n },\r\n \"Description\": \"${13}\"\r\n }\r\n}\r\n",
271+
"description": "",
272+
"scope": "source.cloudformation"
273+
},
274+
"lambda-permission": {
275+
"prefix": "lambda-permission",
276+
"body": "\r\n\"${1:lambdaPermission}\": {\r\n \"Type\": \"AWS::Lambda::Permission\",\r\n \"Properties\": {\r\n \"Action\": \"${2}\",\r\n \"FunctionName\": \"${3}\",\r\n \"Principal\": \"${4}\",\r\n \"SourceAccount\": \"${5}\",\r\n \"SourceArn\": \"${6}\"\r\n }\r\n}\r\n",
277+
"description": "",
278+
"scope": "source.cloudformation"
279+
},
280+
"lambda-version": {
281+
"prefix": "lambda-version",
282+
"body": "\r\n\"${1:lambdaVersion}\": {\r\n \"Type\": \"AWS::Lambda::Version\",\r\n \"Properties\": {\r\n \"CodeSha256\": \"${2}\",\r\n \"Description\": \"${3}\",\r\n \"FunctionName\": \"${4}\"\r\n }\r\n}\r\n",
283+
"description": "",
284+
"scope": "source.cloudformation"
285+
},
286286
"launch-config": {
287287
"prefix": "launch-config",
288288
"body": "\r\n\"${1:launchConfigName}\": {\r\n \"Type\" : \"AWS::AutoScaling::LaunchConfiguration\",\r\n \"Properties\" : {\r\n \"IamInstanceProfile\" : ${2:\"--\"},\r\n \"ImageId\" : ${3:\"--\"},\r\n \"InstanceMonitoring\" : ${4:\"--\"},\r\n \"InstanceType\" : \"${5:--}\",\r\n \"KeyName\" : ${6:\"--\"},\r\n \"SecurityGroups\" : [ ${7:\"--\"} ],\r\n \"UserData\" : {\r\n \"Fn::Base64\": \r\n { \"Fn::Join\": [\r\n \"\",\r\n [\r\n \"#!/bin/bash -ex\",\r\n \"${8:-}\"\r\n ]\r\n \r\n ] \r\n }\r\n }\r\n }\r\n}\r\n",
@@ -685,4 +685,4 @@
685685
"description": "",
686686
"scope": "source.cloudformation"
687687
}
688-
}
688+
}

0 commit comments

Comments
 (0)