Firestore Multiple Databases with Cloud Functions

21 views
Skip to first unread message

Aron Suarez

unread,
Sep 14, 2023, 3:12:38 AMSep 14
to google-cloud-firestore-discuss

Firestore Multiple Databases currently in preview, I'm wondering is it possible to trigger a cloud function from multiple firestore databases.

  • I have tried by replacing the database name with * and {databaseNname} in the function config of the firebase function.
  • I have tried creating event-arc trigger with a audit log trigger and a pathpattern

But nothing is working

Any other idea?

Jim Morrison

unread,
Sep 14, 2023, 11:17:05 AMSep 14
to Aron Suarez, google-cloud-firestore-discuss
You need to deploy your trigger separately for each Firestore database.

Jim

--
You received this message because you are subscribed to the Google Groups "google-cloud-firestore-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-firestor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-firestore-discuss/03c2f3c0-90a8-4382-bb5e-02e47f7c3f0an%40googlegroups.com.


--
Jim

Aron Suarez

unread,
Sep 14, 2023, 11:22:04 AMSep 14
to Jim Morrison, google-cloud-firestore-discuss
Hi Jim

Thanks, is there any plan to support this in the future?

Best Aron
Reply all
Reply to author
Forward
0 new messages