Skip to content

Commit bc7277a

Browse files
Added SUNDAY as a day of the week (#13218) (#21640)
[upstream:9ef2b8aecc76972741dcea4f2c33164007f5e677] Signed-off-by: Modular Magician <[email protected]>
1 parent ed11751 commit bc7277a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.changelog/13218.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
backup_dr: added missing SUNDAY option for `google_backup_dr_backup_plan.days_of_week`
3+
```

google/services/backupdr/resource_backup_dr_backup_plan.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ The end hour of the day should be greater than the start`,
132132
Type: schema.TypeList,
133133
Optional: true,
134134
ForceNew: true,
135-
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"]`,
135+
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"]`,
136136
Elem: &schema.Schema{
137137
Type: schema.TypeString,
138-
ValidateFunc: verify.ValidateEnum([]string{"DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"}),
138+
ValidateFunc: verify.ValidateEnum([]string{"DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"}),
139139
},
140140
},
141141
"hourly_frequency": {

website/docs/r/backup_dr_backup_plan.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The following arguments are supported:
122122
* `days_of_week` -
123123
(Optional)
124124
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.
125-
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`.
125+
Each value may be one of: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
126126

127127
* `days_of_month` -
128128
(Optional)

0 commit comments

Comments
 (0)