Skip to content

Commit 6403bc7

Browse files
docs: improve documentation for timezone field
1 parent 17b2adb commit 6403bc7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

provider/workspace_preset.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,11 @@ func workspacePresetDataSource() *schema.Resource {
151151
Elem: &schema.Resource{
152152
Schema: map[string]*schema.Schema{
153153
"timezone": {
154-
Type: schema.TypeString,
155-
Description: "The timezone to use for the autoscaling schedule (e.g., \"UTC\", \"America/New_York\").",
156-
Required: true,
154+
Type: schema.TypeString,
155+
Description: `The timezone to use for the autoscaling schedule (e.g., "UTC", "America/New_York").
156+
Timezone must be a valid timezone in the IANA timezone database.
157+
See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a complete list of valid timezone identifiers and https://www.iana.org/time-zones for the official IANA timezone database.`,
158+
Required: true,
157159
ValidateFunc: func(val interface{}, key string) ([]string, []error) {
158160
timezone := val.(string)
159161

0 commit comments

Comments
 (0)