removed extraneous debug code and clarified INFO logging

This commit is contained in:
Michael Austin 2015-10-29 17:53:40 -04:00
parent 53e196eaed
commit 5448e01269
1 changed files with 2 additions and 5 deletions

View File

@ -352,11 +352,8 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error
}
if attr := d.Get("vpc_security_group_ids").(*schema.Set); attr.Len() > 0 {
var s []*string
for _, v := range attr.List() {
s = append(s, aws.String(v.(string)))
}
log.Printf("[INFO] DB is restoring from snapshot with default security, but should be set to %s", v.(string))
log.Printf("[INFO] DB is restoring from snapshot with default security, but custom security should be set, will now update after snapshot is restored!");
// wait for instance to get up and then modify security
d.SetId(d.Get("identifier").(string))