Skip to content

Commit 3bd653a

Browse files
authored
feat(backend): use nodejs14.x runtime in lambdas (#23)
1 parent ada0d5b commit 3bd653a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/infra/cdk/notes-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class NotesApi extends cdk.Construct {
1919
const { table, grantActions } = props;
2020

2121
this.handler = new lambda.Function(this, "handler", {
22-
runtime: lambda.Runtime.NODEJS_12_X,
22+
runtime: lambda.Runtime.NODEJS_14_X,
2323
handler: "app.handler",
2424
// ToDo: find a better way to pass lambda code
2525
code: lambda.Code.fromAsset(`../backend/dist/${id}`),

0 commit comments

Comments
 (0)