File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
infrastructure/terraform/components/dl Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 11resource "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}
You can’t perform that action at this time.
0 commit comments