Skip to content

Commit

Permalink
feat: Add support for kafka event source config (#617)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Correa <[email protected]>
Co-authored-by: Anton Babenko <[email protected]>
  • Loading branch information
3 people authored Oct 5, 2024
1 parent aa94b91 commit 2c077cb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/alias/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,20 @@ resource "aws_lambda_event_source_mapping" "this" {
}
}

dynamic "self_managed_kafka_event_source_config" {
for_each = try(each.value.self_managed_kafka_event_source_config, [])
content {
consumer_group_id = try(self_managed_kafka_event_source_config.value.consumer_group_id, null)
}
}

dynamic "amazon_managed_kafka_event_source_config" {
for_each = try(each.value.amazon_managed_kafka_event_source_config, [])
content {
consumer_group_id = try(amazon_managed_kafka_event_source_config.value.consumer_group_id, null)
}
}

dynamic "source_access_configuration" {
for_each = try(each.value.source_access_configuration, [])
content {
Expand Down

0 comments on commit 2c077cb

Please sign in to comment.