Skip to content

Commit

Permalink
feat: Add topics parameter support for lambda event source (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelmuszynski authored Aug 20, 2021
1 parent 8575fd3 commit 376d5e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ resource "aws_lambda_event_source_mapping" "this" {
maximum_retry_attempts = lookup(each.value, "maximum_retry_attempts", null)
maximum_record_age_in_seconds = lookup(each.value, "maximum_record_age_in_seconds", null)
bisect_batch_on_function_error = lookup(each.value, "bisect_batch_on_function_error", null)
topics = lookup(each.value, "topics", null)

dynamic "destination_config" {
for_each = lookup(each.value, "destination_arn_on_failure", null) != null ? [true] : []
Expand Down

0 comments on commit 376d5e7

Please sign in to comment.