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'),