diff --git a/azurerm/internal/services/machinelearning/machine_learning_compute_cluster_resource.go b/azurerm/internal/services/machinelearning/machine_learning_compute_cluster_resource.go index 4dd0aaf22d4a9..aa1ca8dfb0fb0 100644 --- a/azurerm/internal/services/machinelearning/machine_learning_compute_cluster_resource.go +++ b/azurerm/internal/services/machinelearning/machine_learning_compute_cluster_resource.go @@ -284,7 +284,7 @@ func expandScaleSettings(input []interface{}) *machinelearningservices.ScaleSett max_node_count := int32(v["max_node_count"].(int)) min_node_count := int32(v["min_node_count"].(int)) - node_idle_time_before_scale_down := string(v["node_idle_time_before_scale_down"].(string)) + node_idle_time_before_scale_down := v["node_idle_time_before_scale_down"].(string) return &machinelearningservices.ScaleSettings{ MaxNodeCount: &max_node_count,