Skip to content

Commit 7ce785a

Browse files
committed
Make memory dynamic
1 parent c747695 commit 7ce785a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesh_infra/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ module "mesh" {
3535
compress_threshold = 1 * 1024 * 1024
3636
get_message_max_concurrency = 10
3737
handshake_schedule = "rate(24 hours)"
38-
fetch_message_lambda_memory_size = 512
38+
fetch_message_lambda_memory_size = var.aws_environment == "prod" ? 512 : 128
3939
}

0 commit comments

Comments
 (0)