Merge pull request #4969 from Chili-Man/bugfix/aws_provider_rds_security_groups

provider/aws: apply security group changes in EC2 Classic RDS for aws_db_instance
This commit is contained in:
Clint 2016-02-11 16:12:12 -06:00
commit 934c31f76b
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ func resourceAwsDbInstanceUpdate(d *schema.ResourceData, meta interface{}) error
requestUpdate = true
}
if d.HasChange("vpc_security_group_ids") {
if d.HasChange("security_group_names") {
if attr := d.Get("security_group_names").(*schema.Set); attr.Len() > 0 {
var s []*string
for _, v := range attr.List() {