From c030b42727bba3fb3d1afc32375989b0c5f789b0 Mon Sep 17 00:00:00 2001 From: Chris Stephens Date: Sat, 16 Nov 2019 00:35:23 +0000 Subject: [PATCH] Change removed update_strategy to computed Signed-off-by: Modular Magician --- google-beta/resource_compute_instance_group_manager.go | 3 +-- google-beta/resource_compute_region_instance_group_manager.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/google-beta/resource_compute_instance_group_manager.go b/google-beta/resource_compute_instance_group_manager.go index f5068640bb..14a91afb26 100644 --- a/google-beta/resource_compute_instance_group_manager.go +++ b/google-beta/resource_compute_instance_group_manager.go @@ -144,8 +144,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource { "update_strategy": { Type: schema.TypeString, - Optional: true, - Default: "REPLACE", + Computed: true, Removed: "This field has been replaced by `update_policy`", }, diff --git a/google-beta/resource_compute_region_instance_group_manager.go b/google-beta/resource_compute_region_instance_group_manager.go index 2f4cc6d723..d2e57bd417 100644 --- a/google-beta/resource_compute_region_instance_group_manager.go +++ b/google-beta/resource_compute_region_instance_group_manager.go @@ -38,7 +38,7 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource { "instance_template": { Type: schema.TypeString, - Optional: true, + Computed: true, Removed: "This field has been replaced by `version.instance_template` in 3.0.0", },