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:
Evan Phoenix 2017-03-15 09:02:00 -07:00 committed by Paul Stack
parent 2969b29d9b
commit 5f44a154e2
1 changed files with 4 additions and 0 deletions

View File

@ -839,6 +839,10 @@ func resourceAwsDbInstanceUpdate(d *schema.ResourceData, meta interface{}) error
}
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
if d.HasChange("allocated_storage") || d.HasChange("iops") {
d.SetPartial("allocated_storage")