Skip to content

Commit

Permalink
Add log message about if changes are being applied now or later (#12691)
Browse files Browse the repository at this point in the history
* Add log message about if changes are being applied now or later

* Improve english

* Further adventure in english
  • Loading branch information
evanphx authored and stack72 committed Mar 15, 2017
1 parent 2969b29 commit 5f44a15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builtin/providers/aws/resource_aws_db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5f44a15

Please sign in to comment.