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 92cbff9 commit e153898Copy full SHA for e153898
main.tf
@@ -72,7 +72,7 @@ resource "aws_cloudwatch_event_target" "this" {
72
input_path = lookup(each.value, "input_path", null)
73
74
dynamic "run_command_targets" {
75
- for_each = lookup(each.value, "run_command_targets", null) != null ? [true] : []
+ for_each = try([each.value.run_command_targets], [])
76
77
content {
78
key = run_command_targets.value.key
0 commit comments