From 7b2015bdb69f9481c1b6e038850429c097598c4c Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 25 Apr 2024 14:26:46 -0700 Subject: [PATCH] Add database_id section in firebase rule release sample (#10529) (#17963) [upstream:d2ad872dc282389788159febc564a575407c65e7] Signed-off-by: Modular Magician --- .../resource_firebaserules_release_generated_test.go | 2 +- website/docs/r/firebaserules_release.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google/services/firebaserules/resource_firebaserules_release_generated_test.go b/google/services/firebaserules/resource_firebaserules_release_generated_test.go index 4d5c937b5c8..7e4b824964c 100644 --- a/google/services/firebaserules/resource_firebaserules_release_generated_test.go +++ b/google/services/firebaserules/resource_firebaserules_release_generated_test.go @@ -61,7 +61,7 @@ func TestAccFirebaserulesRelease_FirestoreReleaseHandWritten(t *testing.T) { func testAccFirebaserulesRelease_FirestoreReleaseHandWritten(context map[string]interface{}) string { return acctest.Nprintf(` resource "google_firebaserules_release" "primary" { - name = "cloud.firestore" + name = "cloud.firestore/tf-test-database%{random_suffix}" ruleset_name = "projects/%{project_name}/rulesets/${google_firebaserules_ruleset.firestore.name}" project = "%{project_name}" diff --git a/website/docs/r/firebaserules_release.html.markdown b/website/docs/r/firebaserules_release.html.markdown index 71f7cd543c8..b70db7e4e4c 100644 --- a/website/docs/r/firebaserules_release.html.markdown +++ b/website/docs/r/firebaserules_release.html.markdown @@ -28,7 +28,7 @@ For more information, see: Creates a Firebase Rules Release to Cloud Firestore ```hcl resource "google_firebaserules_release" "primary" { - name = "cloud.firestore" + name = "cloud.firestore/database" ruleset_name = "projects/my-project-name/rulesets/${google_firebaserules_ruleset.firestore.name}" project = "my-project-name"