From c5a922f267af9a5fea50a41311d41f712419c6d6 Mon Sep 17 00:00:00 2001 From: Cyrus Vafadari Date: Thu, 17 Dec 2020 13:20:43 -0800 Subject: [PATCH] #16821 Fix spelling of db_subnet_group_name in restore_to_point_in_time --- aws/resource_aws_db_instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_db_instance.go b/aws/resource_aws_db_instance.go index 762066309ec..e48cc00f692 100644 --- a/aws/resource_aws_db_instance.go +++ b/aws/resource_aws_db_instance.go @@ -1149,7 +1149,7 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error input.StorageType = aws.String(v.(string)) } - if v, ok := d.GetOk("subnet_group_name"); ok { + if v, ok := d.GetOk("db_subnet_group_name"); ok { input.DBSubnetGroupName = aws.String(v.(string)) }