Skip to content

Commit c84391e

Browse files
authored
Merge pull request #16830 from cyrusv/cyrus-restore-rds-db-subnet-group
r/aws_db_instance Bugfix: Pass db_subnet_group_name in restore_to_point_in_time (Issue #16821)
2 parents e5e68dd + c5a922f commit c84391e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aws/resource_aws_db_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error
11491149
input.StorageType = aws.String(v.(string))
11501150
}
11511151

1152-
if v, ok := d.GetOk("subnet_group_name"); ok {
1152+
if v, ok := d.GetOk("db_subnet_group_name"); ok {
11531153
input.DBSubnetGroupName = aws.String(v.(string))
11541154
}
11551155

0 commit comments

Comments
 (0)