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 = "my-project"
  name       = "my-project"
  org_id     = "123456789"

  labels = {
    "firebase" = "enabled"
  }
}

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

Argument Reference

The following arguments are supported:


Attributes Reference

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

Timeouts

This resource provides the following Timeouts configuration options:

Import

Project can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import Project using one of the formats above. For example:

import {
  id = "projects/{{project}}"
  to = google_firebase_project.default
}

When using the terraform import command, Project can be imported using one of the formats above. For example:

$ terraform import google_firebase_project.default projects/{{project}}
$ terraform import google_firebase_project.default {{project}}

User Project Overrides

This resource supports User Project Overrides.