Skip to content

Commit f573057

Browse files
CCM-12858: WIP fixes
1 parent 435f8d2 commit f573057

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed
Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
11
resource "aws_lambda_event_source_mapping" "core_notifier_lambda" {
22
event_source_arn = module.sqs_core_notifier.sqs_queue_arn
33
function_name = module.core_notifier.function_arn
4-
starting_position = "TRIM_HORIZON"
5-
batch_size = 50
6-
maximum_batching_window_in_seconds = 10
7-
maximum_retry_attempts = 3
4+
batch_size = var.queue_batch_size
5+
maximum_batching_window_in_seconds = var.queue_batch_window_seconds
86

97
function_response_types = [
108
"ReportBatchItemFailures"
119
]
12-
13-
destination_config {
14-
on_failure {
15-
destination_arn = module.sqs_core_notifier_errors.sqs_queue_arn
16-
}
17-
}
18-
19-
filter_criteria {
20-
filter {
21-
pattern = jsonencode({
22-
eventName : ["REMOVE"]
23-
})
24-
}
25-
}
2610
}

0 commit comments

Comments
 (0)