Add log message about if changes are being applied now or later (#12691)
* Add log message about if changes are being applied now or later * Improve english * Further adventure in english
This commit is contained in:
parent
2969b29d9b
commit
5f44a154e2
|
@ -839,6 +839,10 @@ func resourceAwsDbInstanceUpdate(d *schema.ResourceData, meta interface{}) error
|
||||||
}
|
}
|
||||||
d.SetPartial("apply_immediately")
|
d.SetPartial("apply_immediately")
|
||||||
|
|
||||||
|
if !d.Get("apply_immediately").(bool) {
|
||||||
|
log.Println("[INFO] Only settings updating, instance changes will be applied in next maintenance window")
|
||||||
|
}
|
||||||
|
|
||||||
requestUpdate := false
|
requestUpdate := false
|
||||||
if d.HasChange("allocated_storage") || d.HasChange("iops") {
|
if d.HasChange("allocated_storage") || d.HasChange("iops") {
|
||||||
d.SetPartial("allocated_storage")
|
d.SetPartial("allocated_storage")
|
||||||
|
|
Loading…
Reference in New Issue