From 8c734d1bff37234e5bb6b316c0c5a10b6e0db8aa Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Sat, 23 Nov 2024 15:04:10 -0500 Subject: [PATCH] chore: node 20 -> node 22: https://aws.amazon.com/blogs/compute/node-js-22-runtime-now-available-in-aws-lambda/ --- src/constructs/p6-lz-sra-avm-accounts.ts | 2 +- src/constructs/p6-lz-sra-avm-ous.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constructs/p6-lz-sra-avm-accounts.ts b/src/constructs/p6-lz-sra-avm-accounts.ts index c413ead..bcbc9ee 100644 --- a/src/constructs/p6-lz-sra-avm-accounts.ts +++ b/src/constructs/p6-lz-sra-avm-accounts.ts @@ -22,7 +22,7 @@ export class P6LzSraAvmAccounts extends cdk.Resource { }) const accountsFunction = new lambdajs.NodejsFunction(this, 'AccountsMaker', { - runtime: lambda.Runtime.NODEJS_20_X, + runtime: lambda.Runtime.NODEJS_22_X, timeout: cdk.Duration.minutes(6), tracing: lambda.Tracing.ACTIVE, entry: path.join(__dirname, '..', 'resources', 'avm.AccountsMaker.ts'), diff --git a/src/constructs/p6-lz-sra-avm-ous.ts b/src/constructs/p6-lz-sra-avm-ous.ts index 77545db..a517185 100644 --- a/src/constructs/p6-lz-sra-avm-ous.ts +++ b/src/constructs/p6-lz-sra-avm-ous.ts @@ -15,7 +15,7 @@ export class P6LzSraAvmOus extends cdk.Resource { constructor(scope: Construct, id: string, props: IP6LzSraAvmOuProps) { super(scope, id) const ouFunction = new lambdajs.NodejsFunction(this, 'OUMaker', { - runtime: lambda.Runtime.NODEJS_20_X, + runtime: lambda.Runtime.NODEJS_22_X, timeout: cdk.Duration.minutes(1), tracing: lambda.Tracing.ACTIVE, entry: path.join(__dirname, '..', 'resources', 'avm.OUMaker.ts'),