You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/workspace_preset.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -54,21 +54,21 @@ Required:
54
54
55
55
Optional:
56
56
57
-
-`autoscaling` (Block List, Max: 1) Configuration block that defines autoscaling behavior for prebuilds. Use this to automatically adjust the number of prebuild instances based on a schedule. (see [below for nested schema](#nestedblock--prebuilds--autoscaling))
57
+
-`scheduling` (Block List, Max: 1) Configuration block that defines scheduling behavior for prebuilds. Use this to automatically adjust the number of prebuild instances based on a schedule. (see [below for nested schema](#nestedblock--prebuilds--scheduling))
58
58
-`expiration_policy` (Block Set, Max: 1) Configuration block that defines TTL (time-to-live) behavior for prebuilds. Use this to automatically invalidate and delete prebuilds after a certain period, ensuring they stay up-to-date. (see [below for nested schema](#nestedblock--prebuilds--expiration_policy))
59
59
60
-
<aid="nestedblock--prebuilds--autoscaling"></a>
61
-
### Nested Schema for `prebuilds.autoscaling`
60
+
<aid="nestedblock--prebuilds--scheduling"></a>
61
+
### Nested Schema for `prebuilds.scheduling`
62
62
63
63
Required:
64
64
65
-
-`schedule` (Block List, Min: 1) One or more schedule blocks that define when to scale the number of prebuild instances. (see [below for nested schema](#nestedblock--prebuilds--autoscaling--schedule))
66
-
-`timezone` (String) The timezone to use for the autoscaling schedule (e.g., "UTC", "America/New_York").
65
+
-`schedule` (Block List, Min: 1) One or more schedule blocks that define when to scale the number of prebuild instances. (see [below for nested schema](#nestedblock--prebuilds--scheduling--schedule))
66
+
-`timezone` (String) The timezone to use for the scheduling schedule (e.g., "UTC", "America/New_York").
67
67
Timezone must be a valid timezone in the IANA timezone database.
68
68
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.
Description: "Configuration block that defines autoscaling behavior for prebuilds. Use this to automatically adjust the number of prebuild instances based on a schedule.",
148
+
Description: "Configuration block that defines scheduling behavior for prebuilds. Use this to automatically adjust the number of prebuild instances based on a schedule.",
149
149
Optional: true,
150
150
MaxItems: 1,
151
151
Elem: &schema.Resource{
152
152
Schema: map[string]*schema.Schema{
153
153
"timezone": {
154
154
Type: schema.TypeString,
155
-
Description: `The timezone to use for the autoscaling schedule (e.g., "UTC", "America/New_York").
155
+
Description: `The timezone to use for the scheduling schedule (e.g., "UTC", "America/New_York").
156
156
Timezone must be a valid timezone in the IANA timezone database.
157
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
158
Required: true,
@@ -213,7 +213,7 @@ See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a complete
213
213
}
214
214
215
215
// validatePrebuildsCronSpec ensures that the minute field is set to *.
216
-
// This is required because autoscaling schedules represent continuous time ranges,
216
+
// This is required because scheduling schedules represent continuous time ranges,
217
217
// and we want the schedule to cover entire hours rather than specific minute intervals.
0 commit comments