Skip to content

Commit b723387

Browse files
kuhetrivikr
andauthored
docs: update supplemental-docs/AWS_LAMBDA.md
Co-authored-by: Trivikram Kamat <[email protected]>
1 parent f9c65dc commit b723387

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

supplemental-docs/AWS_LAMBDA.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ await lambda.publishLayerVersion({
7575
// read the layer zip file as a buffer.
7676
ZipFile: fs.readFileSync("./path/to/layer_content.zip"),
7777
},
78+
// Confirm from SDK package.json engines field that version supports each runtime.
79+
// It usually does, if Lambda hasn't blocked function create for the runtime.
7880
CompatibleRuntimes: ["nodejs18.x", "nodejs20.x", "nodejs22.x"],
7981
CompatibleArchitectures: ["x86_64", "arm64"],
8082
});

0 commit comments

Comments
 (0)