Skip to content

Commit

Permalink
Add database_id section in firebase rule release sample (#10529) (#17963
Browse files Browse the repository at this point in the history
)

[upstream:d2ad872dc282389788159febc564a575407c65e7]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Apr 25, 2024
1 parent 3a056dc commit 7b2015b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/firebaserules_release.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7b2015b

Please sign in to comment.