Skip to content

Commit d3fc140

Browse files
author
sourabh
committed
updating to nodejs14.x
1 parent 9e65a01 commit d3fc140

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cloudwatchevents/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ First create an [HTTP collector endpoint](http://help.sumologic.com/Send_Data/So
1313
2. Select `Blank Function` on the select blueprint page
1414
3. Leave triggers empty for now, click next
1515
4. Configure Lambda
16-
* Select Node.js 10.x as runtime
16+
* Select Node.js 14.x as runtime
1717
* Copy code from cloudwatchevents.js into the Lambda function code.
1818
* Add Environment variables (See below)
1919
5. Scroll down to the `Lambda function handle and role` section, make sure you set the right values that match the function. For role, you can just use the basic execution role. Click next.

cloudwatchevents/guardduty/cloudwatchevents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
]
8686
},
8787
"Timeout": 300,
88-
"Runtime": "nodejs12.x"
88+
"Runtime": "nodejs14.x"
8989
}
9090
},
9191
"CloudWatchEventFunctionCloudWatchEventTriggerPermission": {

cloudwatchevents/guardduty/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Resources:
3838
Properties:
3939
CodeUri: ../src/
4040
Handler: cloudwatchevents.handler
41-
Runtime: nodejs12.x
41+
Runtime: nodejs14.x
4242
Environment:
4343
Variables:
4444
SUMO_ENDPOINT: !Ref SumoEndpointUrl

cloudwatchevents/guarddutybenchmark/template_v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Resources:
110110
- aws.guardduty
111111
Type: CloudWatchEvent
112112
Handler: cloudwatchevents.handler
113-
Runtime: nodejs12.x
113+
Runtime: nodejs14.x
114114
Type: AWS::Serverless::Function
115115

116116
SumoAppUtils:

0 commit comments

Comments
 (0)