Skip to content

Commit 04fd074

Browse files
committed
Fixed topics usage from event_sources in capabilities.
1 parent 36d4cda commit 04fd074

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.4.16 (Feb 27, 2025)
2+
* Fixed `topics` usage from `event_sources` in capabilities.
3+
14
# 0.4.15 (Feb 26, 2025)
25
* Added `var.reserved_concurrency` to relax compliance for flexibility launching new lambda functions.
36

event_sources.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ resource "aws_lambda_event_source_mapping" "caps" {
1515

1616
batch_size = try(each.value.batch_size, null)
1717
starting_position = try(each.value.starting_position, null)
18-
topics = try(each.value.topics, null)
18+
topics = try(toset(jsondecode(each.value.topics)), null)
1919
}

0 commit comments

Comments
 (0)