Skip to content

Commit

Permalink
add updating overprovision property (#13653)
Browse files Browse the repository at this point in the history
fix #13576
  • Loading branch information
kaitoii11 authored Oct 7, 2021
1 parent e39db70 commit 4695e31
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,11 @@ func resourceLinuxVirtualMachineScaleSetUpdate(d *pluginsdk.ResourceData, meta i
updateProps.DoNotRunExtensionsOnOverprovisionedVMs = utils.Bool(v)
}

if d.HasChange("overprovision") {
v := d.Get("overprovision").(bool)
updateProps.Overprovision = utils.Bool(v)
}

if d.HasChange("scale_in_policy") {
scaleInPolicy := d.Get("scale_in_policy").(string)
updateProps.ScaleInPolicy = &compute.ScaleInPolicy{
Expand Down

0 comments on commit 4695e31

Please sign in to comment.