diff --git a/masters.tf b/masters.tf index b589118..72e7954 100644 --- a/masters.tf +++ b/masters.tf @@ -97,8 +97,9 @@ resource "google_compute_region_instance_group_manager" "masters" { target_pools = [google_compute_target_pool.masters-pool.self_link] update_policy { - type = "OPPORTUNISTIC" - minimal_action = "REPLACE" + type = "PROACTIVE" + minimal_action = "REFRESH" + most_disruptive_allowed_action = "REFRESH" } version { diff --git a/workers.tf b/workers.tf index dbbf158..e39c8de 100644 --- a/workers.tf +++ b/workers.tf @@ -62,8 +62,9 @@ resource "google_compute_region_instance_group_manager" "workers" { target_size = var.worker_instance_count update_policy { - type = "OPPORTUNISTIC" - minimal_action = "REPLACE" + type = "PROACTIVE" + minimal_action = "REFRESH" + most_disruptive_allowed_action = "REFRESH" } version {