File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,9 @@ module "alias_no_refresh" {
74
74
75
75
event_source_mapping = {
76
76
sqs = {
77
- service = " sqs"
78
- event_source_arn = module.sqs_events.sqs_queue_arn
77
+ service = " sqs"
78
+ event_source_arn = module.sqs_events.sqs_queue_arn
79
+ maximum_concurrency = 10
79
80
}
80
81
}
81
82
Original file line number Diff line number Diff line change @@ -141,6 +141,13 @@ resource "aws_lambda_event_source_mapping" "this" {
141
141
}
142
142
}
143
143
144
+ dynamic "scaling_config" {
145
+ for_each = try ([each . value . scaling_config ], [])
146
+ content {
147
+ maximum_concurrency = try (scaling_config. value . maximum_concurrency , null )
148
+ }
149
+ }
150
+
144
151
dynamic "self_managed_event_source" {
145
152
for_each = try (each. value . self_managed_event_source , [])
146
153
content {
You can’t perform that action at this time.
0 commit comments