Skip to content

Commit

Permalink
Use Node 16 for the Lambda runtime (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdog authored Aug 31, 2023
1 parent 5686baf commit a115692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdkv2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class AuroraSnapshotCopier extends Construct {

const handler = new lambda.Function(this, 'Handler', {
code: lambda.Code.fromAsset(pathlib.join(__dirname, 'handler')),
runtime: lambda.Runtime.NODEJS_14_X,
runtime: lambda.Runtime.NODEJS_16_X,
handler: 'main.handler',
timeout: props.handlerTimeout ?? cdk.Duration.minutes(1),
environment: allToEnv(simplifiedProps),
Expand Down

0 comments on commit a115692

Please sign in to comment.