Skip to content

Commit

Permalink
Fix Spanner Instance force_delete backup bug (#12836) (#9132)
Browse files Browse the repository at this point in the history
[upstream:17465b2bc0d3266584a31a378eba066dd546ab6e]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jan 23, 2025
1 parent ad13914 commit cd3ea6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/12836.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
spanner: fixed bug with `google_spanner_instance.force_destroy` not setting `billing_project` value correctly
```
2 changes: 1 addition & 1 deletion google-beta/services/spanner/resource_spanner_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ func resourceSpannerInstanceDelete(d *schema.ResourceData, meta interface{}) err
return transport_tpg.HandleNotFoundError(err, d, fmt.Sprintf("SpannerInstance %q", d.Id()))
}

err = deleteSpannerBackups(d, config, resp, billingProject, userAgent)
err = deleteSpannerBackups(d, config, resp, userAgent, billingProject)
if err != nil {
return err
}
Expand Down

0 comments on commit cd3ea6d

Please sign in to comment.