Skip to content

Commit

Permalink
Merge pull request #16830 from cyrusv/cyrus-restore-rds-db-subnet-group
Browse files Browse the repository at this point in the history
r/aws_db_instance Bugfix: Pass db_subnet_group_name in restore_to_point_in_time (Issue #16821)
  • Loading branch information
anGie44 authored Dec 18, 2020
2 parents e5e68dd + c5a922f commit c84391e
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 c84391e

Please sign in to comment.