Skip to content

Commit 61d81b0

Browse files
authored
fix incorrect usage of final_backup_description in instance deletion (#15613)
1 parent df0fd86 commit 61d81b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmv1/third_party/terraform/services/sql/resource_sql_database_instance.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@ func resourceSqlDatabaseInstanceDelete(d *schema.ResourceData, meta interface{})
26702670

26712671
var op *sqladmin.Operation
26722672
finalBackupDescription := ""
2673-
if v, ok := d.GetOk("finalBackupDescription"); ok {
2673+
if v, ok := d.GetOk("final_backup_description"); ok {
26742674
finalBackupDescription = v.(string)
26752675
}
26762676
err = transport_tpg.Retry(transport_tpg.RetryOptions{

0 commit comments

Comments
 (0)