Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Firebase Data Connect #21028

Open
lisajian opened this issue Jan 24, 2025 · 0 comments · May be fixed by GoogleCloudPlatform/magic-modules#12853
Open

Support Firebase Data Connect #21028

lisajian opened this issue Jan 24, 2025 · 0 comments · May be fixed by GoogleCloudPlatform/magic-modules#12853

Comments

@lisajian
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

Support Firebase Data Connect in Terraform. Firebase Data Connect is a relational database service for mobile and web apps that lets you build and scale using a fully-managed PostgreSQL database powered by Cloud SQL. It provides secure schema, query and mutation management using GraphQL technology that integrates well with Firebase Authentication. To use FDC, one should

  1. Enable FDC and create an FDC service <-- applicable to Terraform
  2. Specify the database schema and queries in GraphQL <-- not applicable to Terraform
  3. Update client side code to use FDC <-- not applicable to Terraform

New or Affected Resource(s)

  • google_firebasedataconnect_service (corresponding REST API)

Potential Terraform Configuration

To enable FDC and create an FDC service

resource "google_project" "project" {
  name = "My Project"
  project_id = "my-project-id"
  org_id = "123456789"
  billing_account = "012345-567890-ABCDEF"
}

resource "google_project_service" "fdc" {
  project = "my-project-id"
  service = "firebasedataconnect.googleapis.com"
  disable_on_destroy = false
}

resource "google_firebase_data_connect_service" "service" {
  project = "my-project-id"
  location = "us-central1"
  service_id = "my-fdc-service"

  depends_on = [google_project_service.fdc]
}

References

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant