» google_firebase_project

A Google Cloud Firebase instance. This enables Firebase resources on a given google project. Since a FirebaseProject is actually also a GCP Project, a FirebaseProject uses underlying GCP identifiers (most importantly, the projectId) as its own for easy interop with GCP APIs.

Once Firebase has been added to a Google Project it cannot be removed.

To get more information about Project, see:

» Example Usage - Firebase Project Basic

resource "google_project" "default" {
  provider = google-beta

  project_id = "tf-test%{random_suffix}"
  name       = "tf-test%{random_suffix}"
  org_id     = "123456789"

resource "google_firebase_project" "default" {
  provider = google-beta
  project  = google_project.default.project_id

» Argument Reference

The following arguments are supported:

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

» Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format projects/{{project}}

  • project_number - The number of the google project that firebase is enabled on.

  • display_name - The GCP project display name

» Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 10 minutes.
  • delete - Default is 4 minutes.

» Import

Project can be imported using any of these accepted formats:

$ terraform import -provider=google-beta google_firebase_project.default projects/{{project}}
$ terraform import -provider=google-beta google_firebase_project.default {{project}}

» User Project Overrides

This resource supports User Project Overrides.