diff --git a/google/compute_health_check.go b/google/compute_health_check.go index ddcb3b75b..bb73d9301 100644 --- a/google/compute_health_check.go +++ b/google/compute_health_check.go @@ -98,7 +98,7 @@ func portDiffSuppress(k, old, new string, d *schema.ResourceData) bool { newPort, _ := strconv.Atoi(new) portSpec := d.Get(b[0] + ".0.port_specification") - if int64(oldPort) == defaultPort && newPort == 0 && portSpec == "USE_FIXED_PORT" { + if int64(oldPort) == defaultPort && newPort == 0 && (portSpec == "USE_FIXED_PORT" || portSpec == "") { return true } }