Skip to content

Commit 34e627b

Browse files
committed
visibility timeout
1 parent 1c84031 commit 34e627b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

terraform/sqs_id_sync.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
resource "aws_sqs_queue" "id_sync_queue" {
22
name = "${local.short_prefix}-id-sync-queue"
33
kms_master_key_id = data.aws_kms_key.existing_id_sync_sqs_encryption_key.arn
4-
visibility_timeout_seconds = 60
4+
# TODO: visibility_timeout_seconds must not be less than aws_lambda_function.id_sync_lambda_timeout
5+
visibility_timeout_seconds = 360
56
redrive_policy = jsonencode({
67
deadLetterTargetArn = aws_sqs_queue.id_sync_dlq.arn
78
maxReceiveCount = 4

0 commit comments

Comments
 (0)