-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Set Firestore database mode #12294
Comments
Firestore mode is not managed as part of the FirebaseProject. The current way to manage this is through app_engine_application#database_type |
Update: you can specify the Firestore database mode directly now with google_firestore_database. Note that the usual limitation apply (your Firestore database should be empty). This issue can be marked as fixed now. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Firestore is a component of Firebase. Firestore supports two modes of operation: Native and Datastore. The current
google_firebase_project
resource does not support specifying the Firestore mode. Since the mode cannot be changed after data is added, it's important to get this setting correct as soon as Firestore is enabled for the project.There are 2 problems with the current implementation of
google_firebase_project
:The
google_firebase_project
resource should support specifying the Firestore mode (or some other method of specifying the firestore mode should be added)The default Firestore mode should be "Native", since Datastore mode is going away.
New or Affected Resource(s)
Potential Terraform Configuration
OR, as a boolean option:
References
https://cloud.google.com/datastore/docs/firestore-or-datastore
b/277382009
The text was updated successfully, but these errors were encountered: