Skip to content

Commit 9c17165

Browse files
vic614Victor Yan
andauthored
Increase memory size for ALB IP forwarding lambdas (#1204)
Co-authored-by: Victor Yan <vicyan@amazon.com>
1 parent 1660d5c commit 9c17165

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/deployments/cdk/src/common/alb-ip-forwarding.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class AlbIpForwarding extends Construct {
5858

5959
const dnsFWLambda = new lambda.Function(this, `${prefix}dnsFWLambda`, {
6060
runtime: lambda.Runtime.NODEJS_18_X,
61+
memorySize: 512,
6162
code: lambdaCode,
6263
handler: 'index.albIpMonitor',
6364
timeout: Duration.seconds(60),
@@ -81,6 +82,7 @@ export class AlbIpForwarding extends Construct {
8182

8283
const lambdaDnsRecordMonitor = new lambda.Function(this, `${prefix}ddbDnsRecordMonitor`, {
8384
runtime: lambda.Runtime.NODEJS_18_X,
85+
memorySize: 512,
8486
handler: 'index.albTargetRecordMonitor',
8587
code: lambdaCode,
8688
timeout: Duration.seconds(60),

0 commit comments

Comments
 (0)