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

Add Firestore deletion protection #6295

Conversation

modular-magician
Copy link
Collaborator

Adds Firestore deletion protection support to prevent accidental deletion of Firestore databases.

Fixes hashicorp/terraform-provider-google#15789

Release Note Template for Downstream PRs (will be copied)

firestore: added `delete_protection_state` field to `google_firestore_database` resource.

Derived from GoogleCloudPlatform/magic-modules#8906

* Add Firestore deletion protection

* Reformat

* Add test for updating delete_protection_state

* Make deleteProtectionState skip auto-generated tests

* Add a dedicated example for delete protection

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 07ca3ed into hashicorp:main Sep 15, 2023
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.

Firestore: Add ability to configure deletion protection
1 participant