Skip to content

Commit

Permalink
fixed scenario where region_instance_group_manager would not start …
Browse files Browse the repository at this point in the history
…update (#5584) (#3949)

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Dec 30, 2021
1 parent a69a241 commit 1907785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .changelog/5584.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
compute: fixed scenario where `region_instance_group_manager` would not start update if `wait_for_instances` was set and initial status was not `STABLE`
```
7 changes: 0 additions & 7 deletions google-beta/resource_compute_region_instance_group_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,13 +608,6 @@ func resourceComputeRegionInstanceGroupManagerRead(d *schema.ResourceData, meta
func resourceComputeRegionInstanceGroupManagerUpdate(d *schema.ResourceData, meta interface{}) error {
config := meta.(*Config)

if d.Get("wait_for_instances").(bool) {
err := computeRIGMWaitForInstanceStatus(d, meta)
if err != nil {
return err
}
}

userAgent, err := generateUserAgentString(d, config.userAgent)
if err != nil {
return err
Expand Down

0 comments on commit 1907785

Please sign in to comment.