Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1385206

Browse files
node8 deprecation (#20)
1 parent 8678fe9 commit 1385206

7 files changed

Lines changed: 388 additions & 336 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Resources:
3737
Handler: 'example.handler' # required (file must be in the `lambda-src` folder)
3838
MemorySize: '128' # optional
3939
ReservedConcurrentExecutions: '-1' # optional
40-
Runtime: 'nodejs8.10' # required
40+
Runtime: 'nodejs10.x' # required
4141
Timeout: '3' # optional
4242
TracingConfigMode: PassThrough # optional
4343
LogGroupRetentionInDays: '14' # optional

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cfn-modules/lambda-function",
3-
"version": "2.4.1",
3+
"version": "2.5.0",
44
"description": "AWS Lambda function with automated IAM policy generation, encryption, log group and alerting",
55
"author": "Michael Wittig <[email protected]>",
66
"license": "Apache-2.0",

test/defaults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Resources:
77
Properties:
88
Parameters:
99
Handler: 'defaults.handler'
10-
Runtime: 'nodejs8.10'
10+
Runtime: 'nodejs10.x'
1111
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

test/layer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Resources:
1818
Properties:
1919
Parameters:
2020
Handler: 'defaults.handler'
21-
Runtime: 'nodejs8.10'
21+
Runtime: 'nodejs10.x'
2222
LayerArns: !Ref Layer
2323
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

test/named.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Resources:
77
Properties:
88
Parameters:
99
Handler: 'defaults.handler'
10-
Runtime: 'nodejs8.10'
10+
Runtime: 'nodejs10.x'
1111
FunctionName: 'NamedLambda'
1212
TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml'

0 commit comments

Comments
 (0)