From 30bed97e42c4c808d50faff6d538458bff877965 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Fri, 29 Oct 2021 21:35:33 +0000 Subject: [PATCH] Force-send min_ready_sec (#5402) Signed-off-by: Modular Magician --- .changelog/5402.txt | 6 ++++++ google/resource_compute_instance_group_manager.go | 1 - google/resource_compute_region_instance_group_manager.go | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changelog/5402.txt diff --git a/.changelog/5402.txt b/.changelog/5402.txt new file mode 100644 index 00000000000..05e69235985 --- /dev/null +++ b/.changelog/5402.txt @@ -0,0 +1,6 @@ +```release-note:bug +compute: fixed the `google_compute_instance_group_manager.update_policy.0.min_ready_sec` field so that updating it to `0` works +``` +```release-note:bug +compute: fixed the `google_compute_region_instance_group_manager.update_policy.0.min_ready_sec` field so that updating it to `0` works +``` diff --git a/google/resource_compute_instance_group_manager.go b/google/resource_compute_instance_group_manager.go index b84d5a2249a..60720037a05 100644 --- a/google/resource_compute_instance_group_manager.go +++ b/google/resource_compute_instance_group_manager.go @@ -945,7 +945,6 @@ func expandUpdatePolicy(configured []interface{}) *compute.InstanceGroupManagerU NullFields: []string{"Percent"}, } } - } return updatePolicy } diff --git a/google/resource_compute_region_instance_group_manager.go b/google/resource_compute_region_instance_group_manager.go index 302a50379da..33db3228be3 100644 --- a/google/resource_compute_region_instance_group_manager.go +++ b/google/resource_compute_region_instance_group_manager.go @@ -802,7 +802,6 @@ func expandRegionUpdatePolicy(configured []interface{}) *compute.InstanceGroupMa NullFields: []string{"Percent"}, } } - } return updatePolicy }