File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,10 @@ resource "aws_cloudwatch_event_target" "this" {
194
194
}
195
195
196
196
dynamic "kinesis_target" {
197
- for_each = lookup (each. value , " kinesis_target " , null ) != null ? [true ] : []
197
+ for_each = lookup (each. value , " partition_key_path " , null ) != null ? [true ] : []
198
198
199
199
content {
200
- partition_key_path = lookup (kinesis_target . value , " partition_key_path" , null )
200
+ partition_key_path = each . value . partition_key_path
201
201
}
202
202
}
203
203
@@ -560,10 +560,10 @@ resource "aws_scheduler_schedule" "this" {
560
560
}
561
561
562
562
dynamic "kinesis_parameters" {
563
- for_each = lookup (each. value , " kinesis_parameters " , null ) != null ? [true ] : []
563
+ for_each = lookup (each. value , " partition_key " , null ) != null ? [true ] : []
564
564
565
565
content {
566
- partition_key = kinesis_parameters . value . partition_key
566
+ partition_key = each . value . partition_key
567
567
}
568
568
}
569
569
You can’t perform that action at this time.
0 commit comments