Skip to content

Commit 30979f0

Browse files
docs: make gen
1 parent 99680b0 commit 30979f0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/data-sources/workspace_preset.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,16 @@ Required:
5454

5555
Optional:
5656

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))
5857
- `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))
58+
- `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))
59+
60+
<a id="nestedblock--prebuilds--expiration_policy"></a>
61+
### Nested Schema for `prebuilds.expiration_policy`
62+
63+
Required:
64+
65+
- `ttl` (Number) Time in seconds after which an unclaimed prebuild is considered expired and eligible for cleanup.
66+
5967

6068
<a id="nestedblock--prebuilds--scheduling"></a>
6169
### Nested Schema for `prebuilds.scheduling`
@@ -74,12 +82,3 @@ Required:
7482

7583
- `cron` (String) A cron expression that defines when this schedule should be active. The cron expression must be in the format "* HOUR * * DAY-OF-WEEK" where HOUR is 0-23 and DAY-OF-WEEK is 0-6 (Sunday-Saturday). The minute, day-of-month, and month fields must be "*".
7684
- `instances` (Number) The number of prebuild instances to maintain during this schedule period.
77-
78-
79-
80-
<a id="nestedblock--prebuilds--expiration_policy"></a>
81-
### Nested Schema for `prebuilds.expiration_policy`
82-
83-
Required:
84-
85-
- `ttl` (Number) Time in seconds after which an unclaimed prebuild is considered expired and eligible for cleanup.

0 commit comments

Comments
 (0)