Skip to content

Commit 5c67705

Browse files
committed
Revert "Force only one concurrent execution of sync engine"
Waiting on AWS to up the account concurrency limit so we can reserve This reverts commit e21fcea.
1 parent 9af5364 commit 5c67705

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

terraform/modules/dirsync/main.tf

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,17 @@ resource "aws_iam_role_policy_attachment" "this" {
5656
}
5757

5858
resource "aws_lambda_function" "this" {
59-
depends_on = [aws_cloudwatch_log_group.this]
60-
function_name = local.sync_lambda_name
61-
role = aws_iam_role.this.arn
62-
architectures = ["arm64"]
63-
handler = "sync.handler"
64-
runtime = "nodejs22.x"
65-
filename = data.archive_file.lambda_code.output_path
66-
timeout = 900
67-
memory_size = 2048
68-
source_code_hash = data.archive_file.lambda_code.output_sha256
69-
reserved_concurrent_executions = 1
70-
description = "GSuite Sync Lambda."
59+
depends_on = [aws_cloudwatch_log_group.this]
60+
function_name = local.sync_lambda_name
61+
role = aws_iam_role.this.arn
62+
architectures = ["arm64"]
63+
handler = "sync.handler"
64+
runtime = "nodejs22.x"
65+
filename = data.archive_file.lambda_code.output_path
66+
timeout = 900
67+
memory_size = 2048
68+
source_code_hash = data.archive_file.lambda_code.output_sha256
69+
description = "GSuite Sync Lambda."
7170
environment {
7271
variables = {
7372
"RunEnvironment" = var.RunEnvironment

0 commit comments

Comments
 (0)