mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
Fixed wrong cross zone balancing error log.
If updating the cross zone balancing in the aws elb resource fails, the error log claimed that the health check configuration failed. Fixed.
This commit is contained in:
parent
49b3afe452
commit
0486dd0624
@ -328,7 +328,7 @@ func resourceAwsElbUpdate(d *schema.ResourceData, meta interface{}) error {
|
|||||||
}
|
}
|
||||||
_, err := elbconn.ModifyLoadBalancerAttributes(&attrs)
|
_, err := elbconn.ModifyLoadBalancerAttributes(&attrs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Failure configuring health check: %s", err)
|
return fmt.Errorf("Failure configuring cross zone balancing: %s", err)
|
||||||
}
|
}
|
||||||
d.SetPartial("cross_zone_load_balancing")
|
d.SetPartial("cross_zone_load_balancing")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user