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/template.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@
3
3
page_title: "coderd_template Data Source - coderd"
4
4
subcategory: ""
5
5
description: |-
6
-
An existing template on the coder deployment
6
+
An existing template on the Coder deployment.
7
7
---
8
8
9
9
# coderd_template (Data Source)
10
10
11
-
An existing template on the coder deployment
11
+
An existing template on the Coder deployment.
12
12
13
13
14
14
@@ -19,7 +19,7 @@ An existing template on the coder deployment
19
19
20
20
-`id` (String) The ID of the template to retrieve. This field will be populated if a template name is supplied.
21
21
-`name` (String) The name of the template to retrieve. This field will be populated if an ID is supplied.
22
-
-`organization_id` (String) ID of the organization the template is associated with.
22
+
-`organization_id` (String) ID of the organization the template is associated with. This field will be populated if an ID is supplied. Defaults to the provider default organization ID.
23
23
24
24
### Read-Only
25
25
@@ -38,7 +38,7 @@ An existing template on the coder deployment
38
38
-`display_name` (String) Display name of the template.
39
39
-`failure_ttl_ms` (Number) Automatic cleanup TTL for failed workspace builds.
40
40
-`icon` (String) URL of the template's icon.
41
-
-`require_active_version` (Boolean) Whether workspaces created from the template must be up-to-datae on the latest active version.
41
+
-`require_active_version` (Boolean) Whether workspaces created from the template must be up-to-date on the latest active version.
42
42
-`time_til_dormant_autodelete_ms` (Number) Duration of inactivity after the workspace becomes dormant before a workspace is automatically deleted.
43
43
-`time_til_dormant_ms` (Number) Duration of inactivity before a workspace is considered dormant.
44
44
-`updated_at` (Number) Unix timestamp of when the template was last updated.
Copy file name to clipboardExpand all lines: docs/resources/template.md
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ A Coder template
17
17
18
18
### Required
19
19
20
-
-`acl` (Attributes) Access control list for the template. (see [below for nested schema](#nestedatt--acl))
21
20
-`name` (String) The name of the template.
22
21
-`versions` (Attributes List) (see [below for nested schema](#nestedatt--versions))
23
22
24
23
### Optional
25
24
25
+
-`acl` (Attributes) Access control list for the template. Requires an enterprise Coder deployment. If null, ACL policies will not be added or removed by Terraform. (see [below for nested schema](#nestedatt--acl))
26
26
-`allow_user_auto_start` (Boolean)
27
27
-`allow_user_auto_stop` (Boolean)
28
28
-`description` (String) A description of the template.
@@ -34,33 +34,6 @@ A Coder template
34
34
35
35
-`id` (String) The ID of the template.
36
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
37
<aid="nestedatt--versions"></a>
65
38
### Nested Schema for `versions`
66
39
@@ -97,3 +70,30 @@ Required:
97
70
98
71
-`name` (String)
99
72
-`value` (String)
73
+
74
+
75
+
76
+
<aid="nestedatt--acl"></a>
77
+
### Nested Schema for `acl`
78
+
79
+
Required:
80
+
81
+
-`groups` (Attributes Set) (see [below for nested schema](#nestedatt--acl--groups))
82
+
-`users` (Attributes Set) (see [below for nested schema](#nestedatt--acl--users))
MarkdownDescription: "Access control list for the template.",
238
-
Required: true,
211
+
MarkdownDescription: "Access control list for the template. Requires an enterprise Coder deployment. If null, ACL policies will not be added or removed by Terraform.",
0 commit comments