From 901dcfc9cb0aff4619c3c31cd63f42a463a4e982 Mon Sep 17 00:00:00 2001 From: perpil <97474956+perpil@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:32:16 -0800 Subject: [PATCH] feat: add support for nodejs.20x for Lambda (#505) --- src/helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helper.ts b/src/helper.ts index 6eca30e3..af3b66f7 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -228,7 +228,7 @@ export type ScalewayNodeProviderRuntimeMatcher = { [Version in Versions as `node${Version}`]: `node${Version}`; }; -export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18>; +export type AwsNodeMatcher = AwsNodeProviderRuntimeMatcher<12 | 14 | 16 | 18 | 20>; export type AzureNodeMatcher = AzureNodeProviderRuntimeMatcher<12 | 14 | 16 | 18>; @@ -249,6 +249,7 @@ export type ScalewayNodeMatcherKey = keyof ScalewayNodeMatcher; export type NodeMatcherKey = AwsNodeMatcherKey | AzureNodeMatcherKey | GoogleNodeMatcherKey | ScalewayNodeMatcherKey; const awsNodeMatcher: AwsNodeMatcher = { + 'nodejs20.x': 'node20', 'nodejs18.x': 'node18', 'nodejs16.x': 'node16', 'nodejs14.x': 'node14',