Skip to content

Commit 8fb72c0

Browse files
authored
Merge pull request #53 from hablutzel1/coordinator-memory
Increase coordinator Lambda default memory to improve performance and stability
2 parents 7a313d0 + 105936a commit 8fb72c0

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

open-tofu/main.tf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ resource "aws_lambda_function" "mpic_coordinator_lambda" {
7373
source_code_hash = filebase64sha256("../{{source-path}}/mpic_coordinator_lambda/mpic_coordinator_lambda.zip")
7474
runtime = "python3.11"
7575
architectures = ["arm64"]
76+
memory_size = var.coordinator_memory_size
7677
timeout = 60
7778
layers = [
7879
aws_lambda_layer_version.python3_open_mpic_layer.arn,

open-tofu/variables.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@ variable "dnssec_enabled" {
33
description = "Enable DNSSEC"
44
default = true
55
}
6+
7+
variable "coordinator_memory_size" {
8+
type = number
9+
description = "MPIC Coordinator Lambda Function Memory"
10+
default = 512
11+
12+
}

0 commit comments

Comments
 (0)