From c006af9efe5762fffd091c2d1fe7516831a8a34e Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Thu, 30 Apr 2015 09:25:50 -0500 Subject: [PATCH] provider/aws: Fix refresh/plan issue with DB Param. Group name Check against AWS with lowercase, but store in state unmodified. --- builtin/providers/aws/resource_aws_db_subnet_group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_db_subnet_group.go b/builtin/providers/aws/resource_aws_db_subnet_group.go index e92350208..d0cdbe4a2 100644 --- a/builtin/providers/aws/resource_aws_db_subnet_group.go +++ b/builtin/providers/aws/resource_aws_db_subnet_group.go @@ -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))