From 711e0e8dbc52c9c14eb6d02880bf944598a22df0 Mon Sep 17 00:00:00 2001 From: Victor Yan Date: Wed, 10 Jan 2024 10:36:54 -0500 Subject: [PATCH] Increase memory size for ALB IP forwarding lambdas --- src/deployments/cdk/src/common/alb-ip-forwarding.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/deployments/cdk/src/common/alb-ip-forwarding.ts b/src/deployments/cdk/src/common/alb-ip-forwarding.ts index 270feb635..a2ea43678 100644 --- a/src/deployments/cdk/src/common/alb-ip-forwarding.ts +++ b/src/deployments/cdk/src/common/alb-ip-forwarding.ts @@ -58,6 +58,7 @@ export class AlbIpForwarding extends Construct { const dnsFWLambda = new lambda.Function(this, `${prefix}dnsFWLambda`, { runtime: lambda.Runtime.NODEJS_18_X, + memorySize: 512, code: lambdaCode, handler: 'index.albIpMonitor', timeout: Duration.seconds(60), @@ -81,6 +82,7 @@ export class AlbIpForwarding extends Construct { const lambdaDnsRecordMonitor = new lambda.Function(this, `${prefix}ddbDnsRecordMonitor`, { runtime: lambda.Runtime.NODEJS_18_X, + memorySize: 512, handler: 'index.albTargetRecordMonitor', code: lambdaCode, timeout: Duration.seconds(60),