Could I use GCP infrastructure as a code to setup Firebase Auth, Firestore, RDB, Cloud Functions?
C

1

7

I know that I could setup Cloud Firestore and GCP Cloud Functions with infrastructure as a code, but I'm interested that it will be shown at the Firebase Console. I also can't find any way to deploy Firebase Auth and Realtime database with IaaC.

Concenter answered 14/11, 2019 at 22:10 Comment(0)
N
7

Any Cloud Functions deployed by either the Firebase CLI or gcloud will appear in both the Firebase console and the Cloud console.

Any data populated in Firestore will also appear in both consoles.

The Cloud console has no view into Firebase Auth or Realtime Database, as those services are unique to Firebase. You will have to use the Firebase console and its tools and SDKs to work with those products.

In fact, a Firebase project is just a Cloud project with extra APIs and services enabled on top. You might be helped by reading this blog series on the relationship between Firebase and Google Cloud.

Nathanielnathanil answered 14/11, 2019 at 22:14 Comment(2)
Thanks for fast answer. It is possible to somehow setup Auth and the needed provider with Firebase Cli or Rest Api? Or it's the only possibility its to do it manually with the GUI? The reason I'm asking its that I want to script or code the setup. To avoid mistakes and control the setup together with the rest of the backend.Concenter
Not that I know of. Please file a feature request with Firebase support. support.google.com/firebase/contact/supportNathanielnathanil

© 2022 - 2024 — McMap. All rights reserved.