Skip to content

Commit 81feb25

Browse files
authored
chore(infra): bump Lambda Runtime to NODEJS_18_X (aws-samples#87)
1 parent f256a46 commit 81feb25

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
@@ -18,7 +18,7 @@ export class NotesApi extends Construct {
1818
const { table, grantActions } = props;
1919

2020
this.handler = new lambda.Function(this, "handler", {
21-
runtime: lambda.Runtime.NODEJS_16_X,
21+
runtime: lambda.Runtime.NODEJS_18_X,
2222
handler: "app.handler",
2323
// ToDo: find a better way to pass lambda code
2424
code: lambda.Code.fromAsset(`../backend/dist/${id}`),

0 commit comments

Comments
 (0)