Skip to content

Commit bf9a224

Browse files
authored
chore: Adding connection metadata for cloud firestore (#503)
1 parent 5786237 commit bf9a224

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/instance_template/metadata.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@ spec:
307307
version: ">= 0.1.0"
308308
spec:
309309
outputExpr: "{\"BIGTABLE_INSTANCE_ID\" : instance_id, \"BIGTABLE_TABLE_ID\" : table_ids[0]}"
310+
- source:
311+
source: github.com/GoogleCloudPlatform/terraform-google-firestore
312+
version: ">= 0.1.0"
313+
spec:
314+
outputExpr: "{\"FIRESTORE_DATABASE_ID\": database_id}"
310315
- source:
311316
source: github.com/GoogleCloudPlatform/terraform-google-regional-lb-http//modules/frontend
312317
version: ">= 0.4.0"
@@ -375,6 +380,11 @@ spec:
375380
version: ">= 0.1.0"
376381
spec:
377382
outputExpr: "[\"roles/bigtable.admin\"]"
383+
- source:
384+
source: github.com/GoogleCloudPlatform/terraform-google-firestore
385+
version: ">= 0.1.0"
386+
spec:
387+
outputExpr: "[\"roles/datastore.user\"]"
378388
- name: enable_shielded_vm
379389
description: Whether to enable the Shielded VM configuration on the instance. Note that the instance image must support Shielded VMs. See https://cloud.google.com/compute/docs/images
380390
varType: bool

0 commit comments

Comments
 (0)