Skip to content

Commit

Permalink
Add database_id section in firebase rule release sample (#10529)
Browse files Browse the repository at this point in the history
Co-authored-by: Sichen Liu <[email protected]>
  • Loading branch information
pl04351820 and Sichen Liu authored Apr 25, 2024
1 parent 37446c4 commit d2ad872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "google_firebaserules_release" "primary" {
name = "cloud.firestore"
name = "cloud.firestore/{{database}}"
ruleset_name = "projects/{{project}}/rulesets/${google_firebaserules_ruleset.firestore.name}"
project = "{{project}}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ versions:
resource: ./firestore_release.tf.tmpl
variables:
- name: project
type: project
type: project
- name: database
type: resource_name

0 comments on commit d2ad872

Please sign in to comment.