fix ec2 classic security group changing
This commit is contained in:
parent
bb4c58a683
commit
cfafa3f574
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue