Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Spanner Instance force_delete backup bug #9132

Conversation

modular-magician
Copy link
Collaborator

Previously userAgent and billingProjectId were swapped causing the project to be incorrect when force_delete is enabled and backups exist in the Spanner instance.

Fixes hashicorp/terraform-provider-google#21007

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

spanner: fixed bug with `google_spanner_instance.force_destroy` not setting `billing_project` value correctly

Derived from GoogleCloudPlatform/magic-modules#12836

[upstream:17465b2bc0d3266584a31a378eba066dd546ab6e]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner January 23, 2025 21:04
@modular-magician modular-magician merged commit cd3ea6d into hashicorp:main Jan 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resource_spanner_instance passes incorrect billingProject during force_destroy
1 participant