Skip to content

Commit

Permalink
Update boundary_cluster.md (#518)
Browse files Browse the repository at this point in the history
* Update boundary_cluster.md

Clarify UTC time zone

* Update documentation

* Generate docs

---------

Co-authored-by: Uruemu Aganbi <[email protected]>
  • Loading branch information
covetocove and Uruemu Aganbi authored May 30, 2023
1 parent b02a523 commit 574ffa1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/518.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
Documentation: Update HCP Boundary maintenance window documentation to specify that UTC timezone is expected.
```
4 changes: 2 additions & 2 deletions docs/resources/boundary_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ resource "hcp_boundary_cluster" "example" {
Optional:

- `day` (String) The maintenance day of the week for scheduled upgrades. Valid options for maintenance window day - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`
- `end` (Number) The end time which upgrades can be performed. Uses 24H clock. Valid options include - 1 to 24 (inclusive)
- `start` (Number) The start time which upgrades can be performed. Uses 24H clock. Valid options include - 0 to 23 (inclusive)
- `end` (Number) The end time which upgrades can be performed. Uses 24H clock and must be in UTC time zone. Valid options include - 1 to 24 (inclusive)
- `start` (Number) The start time which upgrades can be performed. Uses 24H clock and must be in UTC time zone. Valid options include - 0 to 23 (inclusive)
- `upgrade_type` (String) The upgrade type for the cluster. Valid options for upgrade type - `AUTOMATIC`, `SCHEDULED`


Expand Down
4 changes: 2 additions & 2 deletions internal/provider/resource_boundary_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func resourceBoundaryCluster() *schema.Resource {
RequiredWith: []string{"maintenance_window_config.0.start"},
},
"start": {
Description: "The start time which upgrades can be performed. Uses 24H clock. Valid options include - 0 to 23 (inclusive)",
Description: "The start time which upgrades can be performed. Uses 24H clock and must be in UTC time zone. Valid options include - 0 to 23 (inclusive)",
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(0, 23),
Expand All @@ -136,7 +136,7 @@ func resourceBoundaryCluster() *schema.Resource {
RequiredWith: []string{"maintenance_window_config.0.day"},
},
"end": {
Description: "The end time which upgrades can be performed. Uses 24H clock. Valid options include - 1 to 24 (inclusive)",
Description: "The end time which upgrades can be performed. Uses 24H clock and must be in UTC time zone. Valid options include - 1 to 24 (inclusive)",
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(1, 24),
Expand Down

0 comments on commit 574ffa1

Please sign in to comment.