From 5f44a154e20201d64517b6313549a1209f299ad7 Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Wed, 15 Mar 2017 09:02:00 -0700 Subject: [PATCH] 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 --- builtin/providers/aws/resource_aws_db_instance.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builtin/providers/aws/resource_aws_db_instance.go b/builtin/providers/aws/resource_aws_db_instance.go index 0d1d60362..e944489ab 100644 --- a/builtin/providers/aws/resource_aws_db_instance.go +++ b/builtin/providers/aws/resource_aws_db_instance.go @@ -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")