File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -205,10 +205,10 @@ resource "aws_imagebuilder_image_pipeline" "imagebuilder_image_pipeline" {
205205 infrastructure_configuration_arn = aws_imagebuilder_infrastructure_configuration. imagebuilder_infrastructure_configuration [count . index ]. arn
206206 distribution_configuration_arn = try (aws_imagebuilder_distribution_configuration. imagebuilder_distribution_configuration [count . index ]. arn , null )
207207 dynamic "schedule" {
208- for_each = try (var. schedule_expression , tomap ({}) )
208+ for_each = try (var. schedule_expression , [] )
209209 content {
210- schedule_expression = schedule. key
211- pipeline_execution_start_condition = schedule. value
210+ schedule_expression = schedule. value . scheduleExpression
211+ pipeline_execution_start_condition = schedule. value . pipeline_execution_start_condition
212212 }
213213 }
214214 name = " ${ var . name } -pipeline"
You can’t perform that action at this time.
0 commit comments