Do not check only whether the subnet_ids have changed
This commit is contained in:
parent
3ae21f0891
commit
1389bb2f5e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue