We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3796f40 commit 9b49848Copy full SHA for 9b49848
main.tf
@@ -48,7 +48,7 @@ resource "aws_cloudwatch_event_rule" "this" {
48
resource "aws_cloudwatch_event_target" "this" {
49
for_each = var.create && var.create_targets ? {
50
for target in local.eventbridge_targets : target.name => target
51
- } : {}
+ } : to_map({})
52
53
event_bus_name = var.create_bus ? aws_cloudwatch_event_bus.this[0].name : var.bus_name
54
0 commit comments