File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -195,10 +195,11 @@ resource "aws_sqs_queue" "oxbow_lambda_fifo_sqs_dlq" {
195195}
196196
197197resource "aws_lambda_event_source_mapping" "group_events_lambda_sqs_trigger" {
198- count = local. enable_group_events ? 1 : 0
199- event_source_arn = aws_sqs_queue. group_events_lambda_sqs [0 ]. arn
200- function_name = aws_lambda_function. group_events_lambda [0 ]. arn
201-
198+ count = local. enable_group_events ? 1 : 0
199+ event_source_arn = aws_sqs_queue. group_events_lambda_sqs [0 ]. arn
200+ function_name = aws_lambda_function. group_events_lambda [0 ]. arn
201+ batch_size = var. group_event_lambda_batch_size
202+ maximum_batching_window_in_seconds = var. maximum_batching_window_in_seconds
202203}
203204
204205
Original file line number Diff line number Diff line change @@ -354,3 +354,13 @@ variable "glue_sync_config" {
354354 })
355355 description = " Configuration of glue-sync lambda"
356356}
357+
358+ variable "group_event_lambda_batch_size" {
359+ description = " describe your variable"
360+ default = 10
361+ }
362+
363+ variable "group_event_lambda_maximum_batching_window_in_seconds" {
364+ description = " describe your variable"
365+ default = 1
366+ }
You can’t perform that action at this time.
0 commit comments