diff --git a/mmv1/templates/terraform/post_update/compute_per_instance_config.go.erb b/mmv1/templates/terraform/post_update/compute_per_instance_config.go.erb index c8cb4fa63445..428da0d7847d 100644 --- a/mmv1/templates/terraform/post_update/compute_per_instance_config.go.erb +++ b/mmv1/templates/terraform/post_update/compute_per_instance_config.go.erb @@ -17,7 +17,7 @@ mostDisruptiveAction := d.Get("most_disruptive_allowed_action") if isEmptyValue(reflect.ValueOf(mostDisruptiveAction)) { mostDisruptiveAction = "REPLACE" } -obj["mostDisruptiveActionAllowed"] = mostDisruptiveAction +obj["mostDisruptiveAllowedAction"] = mostDisruptiveAction url, err = replaceVars(d, config, "{{ComputeBasePath}}projects/{{project}}/zones/{{zone}}/instanceGroupManagers/{{instance_group_manager}}/applyUpdatesToInstances") if err != nil { diff --git a/mmv1/templates/terraform/post_update/compute_region_per_instance_config.go.erb b/mmv1/templates/terraform/post_update/compute_region_per_instance_config.go.erb index ca477bada808..a203b19a3d52 100644 --- a/mmv1/templates/terraform/post_update/compute_region_per_instance_config.go.erb +++ b/mmv1/templates/terraform/post_update/compute_region_per_instance_config.go.erb @@ -17,7 +17,7 @@ mostDisruptiveAction := d.Get("most_disruptive_allowed_action") if isEmptyValue(reflect.ValueOf(mostDisruptiveAction)) { mostDisruptiveAction = "REPLACE" } -obj["mostDisruptiveActionAllowed"] = mostDisruptiveAction +obj["mostDisruptiveAllowedAction"] = mostDisruptiveAction url, err = replaceVars(d, config, "{{ComputeBasePath}}projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{region_instance_group_manager}}/applyUpdatesToInstances") if err != nil {