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
# generated by https://github.com/hashicorp/terraform-plugin-docs
3
+
page_title: "coderd_template Resource - coderd"
4
+
subcategory: ""
5
+
description: |-
6
+
A Coder template
7
+
---
8
+
9
+
# coderd_template (Resource)
10
+
11
+
A Coder template
12
+
13
+
14
+
15
+
<!-- schema generated by tfplugindocs -->
16
+
## Schema
17
+
18
+
### Required
19
+
20
+
-`acl` (Attributes) Access control list for the template. (see [below for nested schema](#nestedatt--acl))
21
+
-`name` (String) The name of the template.
22
+
-`versions` (Attributes List) (see [below for nested schema](#nestedatt--versions))
23
+
24
+
### Optional
25
+
26
+
-`allow_user_auto_start` (Boolean)
27
+
-`allow_user_auto_stop` (Boolean)
28
+
-`description` (String) A description of the template.
29
+
-`display_name` (String) The display name of the template. Defaults to the template name.
30
+
-`icon` (String) Relative path or external URL that specifes an icon to be displayed in the dashboard.
31
+
-`organization_id` (String) The ID of the organization. Defaults to the provider's default organization
32
+
33
+
### Read-Only
34
+
35
+
-`id` (String) The ID of the template.
36
+
37
+
<aid="nestedatt--acl"></a>
38
+
### Nested Schema for `acl`
39
+
40
+
Required:
41
+
42
+
-`groups` (Attributes Set) (see [below for nested schema](#nestedatt--acl--groups))
43
+
-`users` (Attributes Set) (see [below for nested schema](#nestedatt--acl--users))
44
+
45
+
<aid="nestedatt--acl--groups"></a>
46
+
### Nested Schema for `acl.groups`
47
+
48
+
Required:
49
+
50
+
-`id` (String)
51
+
-`role` (String)
52
+
53
+
54
+
<aid="nestedatt--acl--users"></a>
55
+
### Nested Schema for `acl.users`
56
+
57
+
Required:
58
+
59
+
-`id` (String)
60
+
-`role` (String)
61
+
62
+
63
+
64
+
<aid="nestedatt--versions"></a>
65
+
### Nested Schema for `versions`
66
+
67
+
Required:
68
+
69
+
-`directory` (String) A path to the directory to create the template version from. Changes in the directory contents will trigger the creation of a new template version.
70
+
71
+
Optional:
72
+
73
+
-`active` (Boolean) Whether this version is the active version of the template. Only one version can be active at a time.
74
+
-`message` (String) A message describing the changes in this version of the template. Messages longer than 72 characters will be truncated.
75
+
-`name` (String) The name of the template version. Automatically generated if not provided.
76
+
-`provisioner_tags` (Attributes Set) Provisioner tags for the template version. (see [below for nested schema](#nestedatt--versions--provisioner_tags))
77
+
-`tf_vars` (Attributes Set) Terraform variables for the template version. (see [below for nested schema](#nestedatt--versions--tf_vars))
0 commit comments