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/resources/template.md
+22-3
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ subcategory: ""
5
5
description: |-
6
6
A Coder template.
7
7
Logs from building template versions can be optionally streamed from the provisioner by setting the TF_LOG environment variable to INFO or higher.
8
-
When importing, the ID supplied can be either a template UUID retrieved via the API or <organization-name>/<template-name>.
9
8
---
10
9
11
10
# coderd_template (Resource)
@@ -14,8 +13,6 @@ A Coder template.
14
13
15
14
Logs from building template versions can be optionally streamed from the provisioner by setting the `TF_LOG` environment variable to `INFO` or higher.
16
15
17
-
When importing, the ID supplied can be either a template UUID retrieved via the API or `<organization-name>/<template-name>`.
18
-
19
16
## Example Usage
20
17
21
18
```terraform
@@ -164,3 +161,25 @@ Optional:
164
161
165
162
-`days_of_week` (Set of String) List of days of the week on which restarts are required. Restarts happen within the user's quiet hours (in their configured timezone). If no days are specified, restarts are not required.
166
163
-`weeks` (Number) Weeks is the number of weeks between required restarts. Weeks are synced across all workspaces (and Coder deployments) using modulo math on a hardcoded epoch week of January 2nd, 2023 (the first Monday of 2023). Values of 0 or 1 indicate weekly restarts. Values of 2 indicate fortnightly restarts, etc.
164
+
165
+
## Import
166
+
167
+
Import is supported using the following syntax:
168
+
169
+
```shell
170
+
# The ID supplied can be either a template UUID retrieved via the API
171
+
# or a fully qualified name: `<organization-name>/<template-name>`.
0 commit comments