Skip to content

Commit

Permalink
Firestore API: Add COLLECTION_GROUP to queryScope (#3972)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and rileykarson committed Jul 8, 2019
1 parent 0757f13 commit 27fde5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/resource_firestore_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func resourceFirestoreIndex() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"COLLECTION", ""}, false),
ValidateFunc: validation.StringInSlice([]string{"COLLECTION", "COLLECTION_GROUP", ""}, false),
Default: "COLLECTION",
},
"name": {
Expand Down

0 comments on commit 27fde5c

Please sign in to comment.