We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62c8aa commit 9e44a4cCopy full SHA for 9e44a4c
composite_index.tf
@@ -7,6 +7,18 @@ locals {
7
region = "us-central1"
8
}
9
10
+ resource "time_sleep" "wait_60_seconds" {
11
+ depends_on = [local.data]
12
+ create_duration = "60s"
13
+}
14
+
15
+resource "google_project_service" "firestore" {
16
+ project = local.data.projectId
17
+ service = "firestore.googleapis.com"
18
+ # Needed for CI tests for permissions to propagate, should not be needed for actual usage
19
+ depends_on = [time_sleep.wait_60_seconds]
20
21
22
resource "google_firestore_index" "default-db-index" {
23
collection = "composite-index-test-collection"
24
0 commit comments