Do not check only whether the subnet_ids have changed

This commit is contained in:
Colin Hebert 2016-03-31 10:37:26 +11:00
parent 3ae21f0891
commit 1389bb2f5e
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ func resourceAwsDbSubnetGroupRead(d *schema.ResourceData, meta interface{}) erro
func resourceAwsDbSubnetGroupUpdate(d *schema.ResourceData, meta interface{}) error {
conn := meta.(*AWSClient).rdsconn
if d.HasChange("subnet_ids") {
if d.HasChange("subnet_ids") || d.HasChange("description") {
_, n := d.GetChange("subnet_ids")
if n == nil {
n = new(schema.Set)