This commit is contained in:
2025-11-07 14:35:46 -08:00
parent 706807654b
commit 76e966fb0b
2 changed files with 15 additions and 9 deletions

View File

@@ -92,6 +92,10 @@ resource "google_firestore_database" "main_firestore" {
resource "google_identity_platform_config" "main_config" {
provider = google-beta
project = google_project.main_project.project_id
multi_tenant {
allow_tenants = false
}
# Auto-deletes anonymous users
autodelete_anonymous_users = true
@@ -162,6 +166,11 @@ EOF
project = google_project.main_project.project_id
}
resource "google_firebaserules_release" "primary" {
name = "cloud.firestore"
project = google_project.main_project.project_id
ruleset_name = "projects/${google_project.main_project.project_id}/rulesets/${google_firebaserules_ruleset.primary.name}"
}
# Output the project ID and name
output "project_id" {