Skip to content

Commit

Permalink
Add resource document to google_firestore (#4279) (#7932)
Browse files Browse the repository at this point in the history
* Add resource firestore document

* fix spelling mistake

* update tests and api according to comments.

* update project reference to be firestore project

* go fmt

* format fix

* ran gofmt manually

* comment the purpose of the decoder

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 4, 2020
1 parent a99dbdc commit c0b8270
Show file tree
Hide file tree
Showing 8 changed files with 883 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/4279.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
`google_firestore_document`
```
5 changes: 3 additions & 2 deletions google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,9 @@ func Provider() *schema.Provider {
return provider
}

// Generated resources: 170
// Generated resources: 171
// Generated IAM resources: 72
// Total generated resources: 242
// Total generated resources: 243
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -829,6 +829,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_dns_policy": resourceDNSPolicy(),
"google_filestore_instance": resourceFilestoreInstance(),
"google_firestore_index": resourceFirestoreIndex(),
"google_firestore_document": resourceFirestoreDocument(),
"google_game_services_realm": resourceGameServicesRealm(),
"google_game_services_game_server_cluster": resourceGameServicesGameServerCluster(),
"google_game_services_game_server_deployment": resourceGameServicesGameServerDeployment(),
Expand Down
Loading

0 comments on commit c0b8270

Please sign in to comment.