Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Oct 5, 2024
1 parent aee62e9 commit 98a22bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/alias/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@ 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 = self_managed_kafka_event_source_config.value.consumer_group_id
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 = amazon_managed_kafka_event_source_config.value.consumer_group_id
consumer_group_id = try(amazon_managed_kafka_event_source_config.value.consumer_group_id, null)
}
}

Expand Down

0 comments on commit 98a22bb

Please sign in to comment.