Skip to content

Commit c845a4d

Browse files
Firestore: Add backup schedule resource (#8908) (#16186)
* Add Firestore backup schedule resource * Add empty properties array for field dailyRecurrence * Update mmv1/products/firestore/BackupSchedule.yaml * Configure database as parameter instead of property * Fix daily backup schedule * Add additional example for weekly backup schedule * Document possible recurrence values * Fix ID format * Fix importing of backup schedules * Support updating backup schedules * Fix lint * Add explicit database field in one example * Improve resource documentation * Fix lints [upstream:106fa0f197200fa01adab4943ffde5353a36ab93] Signed-off-by: Modular Magician <[email protected]>
1 parent 38b1295 commit c845a4d

File tree

5 files changed

+768
-2
lines changed

5 files changed

+768
-2
lines changed

.changelog/8908.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-resource
2+
`google_firestore_backup_schedule`
3+
```

google/provider/provider.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -997,9 +997,9 @@ func DatasourceMapWithErrors() (map[string]*schema.Resource, error) {
997997
})
998998
}
999999

1000-
// Generated resources: 327
1000+
// Generated resources: 328
10011001
// Generated IAM resources: 207
1002-
// Total generated resources: 534
1002+
// Total generated resources: 535
10031003
func ResourceMap() map[string]*schema.Resource {
10041004
resourceMap, _ := ResourceMapWithErrors()
10051005
return resourceMap
@@ -1327,6 +1327,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
13271327
"google_filestore_backup": filestore.ResourceFilestoreBackup(),
13281328
"google_filestore_instance": filestore.ResourceFilestoreInstance(),
13291329
"google_filestore_snapshot": filestore.ResourceFilestoreSnapshot(),
1330+
"google_firestore_backup_schedule": firestore.ResourceFirestoreBackupSchedule(),
13301331
"google_firestore_database": firestore.ResourceFirestoreDatabase(),
13311332
"google_firestore_document": firestore.ResourceFirestoreDocument(),
13321333
"google_firestore_field": firestore.ResourceFirestoreField(),

0 commit comments

Comments
 (0)