Skip to content

Commit

Permalink
#16821 Fix spelling of db_subnet_group_name in restore_to_point_in_time
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrusv committed Dec 17, 2020
1 parent e5e68dd commit c5a922f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit c5a922f

Please sign in to comment.