Skip to content

Commit

Permalink
feat: add support for nodejs.20x for Lambda (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
perpil committed Nov 15, 2023
1 parent fdf091e commit 901dcfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export type ScalewayNodeProviderRuntimeMatcher<Versions extends number> = {
[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>;

Expand All @@ -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',
Expand Down

0 comments on commit 901dcfc

Please sign in to comment.