Skip to content

Commit

Permalink
Increase memory size for ALB IP forwarding lambdas
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Yan committed Jan 10, 2024
1 parent a6722f6 commit 711e0e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/deployments/cdk/src/common/alb-ip-forwarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand Down

0 comments on commit 711e0e8

Please sign in to comment.