Skip to content

Commit a5c03fe

Browse files
authored
fix: Fixed event source mapping filter criteria (#272)
1 parent 0860138 commit a5c03fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ resource "aws_lambda_event_source_mapping" "this" {
262262

263263
content {
264264
filter {
265-
pattern = lookup(filter_criteria, "pattern", null)
265+
pattern = lookup(each.value["filter_criteria"], "pattern", null)
266266
}
267267
}
268268
}

0 commit comments

Comments
 (0)