-
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
Allow configuring Firestore on a project with Terraform #3657
Allow configuring Firestore on a project with Terraform #3657
Comments
Hey @plebasaurus! I don't think we can publish a We could add a |
I think a resource that would add a Firestore database in a specific mode and datastore location to a project would make sense. As @rileykarson mentioned collections and documents are created implicitly (collections will be created automatically when you add a document and didn't specified a collection) so there is no further relation to infrastructure for me either. |
Ah, yep- project-level enablement of Firestore is something I'd like to expose, but that's not possible in the API today. I'm tracking a bug internally though, and that will be added when it's possible. |
Hey @rileykarson, thanks for the response. I guess I totally missed that creation is implicit for collections but here's what I was thinking anyway: For I care less about documents but I guess an example use-case for Ultimately, I agree with @racoon63's suggestion |
That makes sense- I created #3950 for Firestore documents to split out the use case of initializing Firestore vs document creation, I'll rename this issue to cover initialization. |
Still not possible or we can try to move this issue further? |
Still not possible. I"m watching the internal issue for support getting added, but there's been no progress. |
@rileykarson any update on that? it's been a few months... |
Automated backups fits to this issue? |
Any update on this? This prevents automatic project creation with datastore, does't it? |
There is alpha gcloud support for this now, but there is a bug: When you create the app engine application from a service account, creating the firestore instance fails. https://issuetracker.google.com/issues/148567895 (the suggestion to downgrade gcloud is wrong) |
Hi, it looks like the issue that was causing issues for service accounts is now fixed, which makes project level enabling of Firestore possible. |
* Add note on why a user would want bigquery_dataset_iam * Spacing Signed-off-by: Modular Magician <[email protected]>
* Add note on why a user would want bigquery_dataset_iam * Spacing Signed-off-by: Modular Magician <[email protected]>
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Description
Adding the ability to manage Cloud Firestore resources like collections and documents. Looks like indices already exist.
New or Affected Resource(s)
#3305 added support for indices, but I'd love the ability to create collections and manage them through Terraform as well.
Potential Terraform Configuration
References
https://cloud.google.com/firestore/docs/concepts/index-overview
#3305
https://github.com/GoogleCloudPlatform/magic-modules/issues/1578
The text was updated successfully, but these errors were encountered: