provider/aws: Fix refresh/plan issue with DB Param. Group name

Check against AWS with lowercase, but store in state unmodified.
This commit is contained in:
Clint Shryock 2015-04-30 09:25:50 -05:00
parent 1ad9cb261c
commit c006af9efe
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ func resourceAwsDbSubnetGroupRead(d *schema.ResourceData, meta interface{}) erro
return fmt.Errorf("Unable to find DB Subnet Group: %#v", describeResp.DBSubnetGroups)
}
d.Set("name", *subnetGroup.DBSubnetGroupName)
d.Set("name", d.Id())
d.Set("description", *subnetGroup.DBSubnetGroupDescription)
subnets := make([]string, 0, len(subnetGroup.Subnets))