Skip to content

Commit 5cc3774

Browse files
authored
chore(dynamodb-global): use NODEJS_14_X in GlobalTableCoordinator (#13307)
Use `NODEJS_14_X` in `GlobalTableCoordinator` since `NODEJS_10_X` is reaching maintenance EOL. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 6a5a4f2 commit 5cc3774

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@aws-cdk/aws-dynamodb-global/lib/global-table-coordinator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class GlobalTableCoordinator extends cdk.Stack {
1919
code: lambda.Code.fromAsset(path.resolve(__dirname, '../', 'lambda-packages', 'aws-global-table-coordinator', 'lib')),
2020
description: 'Lambda to make DynamoDB a global table',
2121
handler: 'index.handler',
22-
runtime: lambda.Runtime.NODEJS_10_X,
22+
runtime: lambda.Runtime.NODEJS_14_X,
2323
timeout: cdk.Duration.minutes(5),
2424
uuid: 'D38B65A6-6B54-4FB6-9BAD-9CD40A6DAC12',
2525
});

packages/@aws-cdk/aws-dynamodb-global/test/integ.dynamodb.global.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"Arn"
204204
]
205205
},
206-
"Runtime": "nodejs10.x",
206+
"Runtime": "nodejs14.x",
207207
"Description": "Lambda to make DynamoDB a global table",
208208
"Timeout": 300
209209
},

0 commit comments

Comments
 (0)