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 30bdc1d commit babb4d6Copy full SHA for babb4d6
main.tf
@@ -110,7 +110,9 @@ resource "aws_cloudwatch_event_target" "this" {
110
}
111
112
dynamic "batch_target" {
113
- for_each = lookup(each.value, "batch_target", null) != null ? [true] : []
+ for_each = lookup(each.value, "batch_target", null) != null ? [
114
+ each.value.batch_target
115
+ ] : []
116
117
content {
118
job_definition = batch_target.value.job_definition
0 commit comments