Hi @shy-engine-52236
My apologies here but at this point, we only have support for firestore index and document in Pulumi at this time
c
creamy-engine-1851
01/12/2021, 12:33 PM
Yes, you can. Firestore runs one database per GCP project. When you have a new GCP project you need to choose if you want to use a Datastore mode or native mode, which is firestore.
To enable this you need to use the appengine https://www.pulumi.com/docs/reference/pkg/gcp/appengine/application/#properties and set the
CLOUD_FIRESTORE
as DatabaseType, after that you can create collections through your firebase SDK when you interact with the Firestore.
🙌 1
b
broad-dog-22463
01/12/2021, 1:02 PM
well TIL! Thank you so much @creamy-engine-1851
c
creamy-engine-1851
01/12/2021, 1:07 PM
No problem!
s
shy-engine-52236
01/12/2021, 9:06 PM
Thank you both! I will work on implementing this today! 😁
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.