Last active
March 14, 2021 12:39
-
-
Save erankitcs/87464dbeb33691180973bf9d9167b783 to your computer and use it in GitHub Desktop.
Terraform code to create GCP project along with Firestore.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "google" { | |
user_project_override = true | |
} | |
resource "google_firebase_project" "firebase" { | |
provider = google-beta | |
project = var.gcp_project_name | |
} | |
resource "google_app_engine_application" "imagelense" { | |
project = var.gcp_project_name ##google_project.my_project.project_id | |
location_id = "us-central" | |
database_type = "CLOUD_FIRESTORE" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment