Skip to content

Commit

Permalink
Added SUNDAY as a day of the week (#13218) (#21640)
Browse files Browse the repository at this point in the history
[upstream:9ef2b8aecc76972741dcea4f2c33164007f5e677]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Feb 27, 2025
1 parent ed11751 commit bc7277a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/13218.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
backup_dr: added missing SUNDAY option for `google_backup_dr_backup_plan.days_of_week`
```
4 changes: 2 additions & 2 deletions google/services/backupdr/resource_backup_dr_backup_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ The end hour of the day should be greater than the start`,
Type: schema.TypeList,
Optional: true,
ForceNew: true,
Description: `Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]`,
Description: `Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for 'recurrence_type', 'WEEKLY' and is not applicable otherwise. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]`,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: verify.ValidateEnum([]string{"DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"}),
ValidateFunc: verify.ValidateEnum([]string{"DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"}),
},
},
"hourly_frequency": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/backup_dr_backup_plan.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The following arguments are supported:
* `days_of_week` -
(Optional)
Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for `recurrence_type`, `WEEKLY` and is not applicable otherwise.
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`.
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.

* `days_of_month` -
(Optional)
Expand Down

0 comments on commit bc7277a

Please sign in to comment.