Skip to content

Commit

Permalink
Increase memory size for ALB IP forwarding lambdas (#1204)
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Yan <[email protected]>
  • Loading branch information
vic614 and Victor Yan authored Jan 26, 2024
1 parent 1660d5c commit 9c17165
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 9c17165

Please sign in to comment.