Skip to content

Commit

Permalink
Merge pull request #38 from ncrohn/update-custom-resource-node22
Browse files Browse the repository at this point in the history
[Construct/Stack]: Custom Resource runtime update to NODEJS_22_X
  • Loading branch information
fwang authored Feb 10, 2025
2 parents 23d4233 + 5996fd1 commit 2842531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-melons-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"sst": patch
---

Custom Resource runtime update to NODEJS_22_X
2 changes: 1 addition & 1 deletion packages/sst/src/constructs/Stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export class Stack extends CDKStack {
this.stackName + fs.readFileSync(dir + "/index.mjs").toString(),
}),
handler: "index.handler",
runtime: lambda.Runtime.NODEJS_20_X,
runtime: lambda.Runtime.NODEJS_22_X,
timeout: CDKDuration.seconds(900),
memorySize: 1024,
});
Expand Down

0 comments on commit 2842531

Please sign in to comment.