Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update boundary_cluster.md #518

Merged
merged 3 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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