Skip to content

Commit ee9ac22

Browse files
fix: fix allow_user_auto_stop typo (#96)
Supersedes #94.
1 parent 4c8cf7d commit ee9ac22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "coderd_template" "ubuntu-main" {
7171
- `acl` (Attributes) (Enterprise) Access control list for the template. If null, ACL policies will not be added, removed, or read by Terraform. (see [below for nested schema](#nestedatt--acl))
7272
- `activity_bump_ms` (Number) The activity bump duration for all workspaces created from this template, in milliseconds. Defaults to one hour.
7373
- `allow_user_auto_start` (Boolean) (Enterprise) Whether users can auto-start workspaces created from this template. Defaults to true.
74-
- `allow_user_auto_stop` (Boolean) (Enterprise) Whether users can auto-start workspaces created from this template. Defaults to true.
74+
- `allow_user_auto_stop` (Boolean) (Enterprise) Whether users can auto-stop workspaces created from this template. Defaults to true.
7575
- `allow_user_cancel_workspace_jobs` (Boolean) Whether users can cancel in-progress workspace jobs using this template. Defaults to true.
7676
- `auto_start_permitted_days_of_week` (Set of String) (Enterprise) List of days of the week in which autostart is allowed to happen, for all workspaces created from this template. Defaults to all days. If no days are specified, autostart is not allowed.
7777
- `auto_stop_requirement` (Attributes) (Enterprise) The auto-stop requirement for all workspaces created from this template. (see [below for nested schema](#nestedatt--auto_stop_requirement))

internal/provider/template_resource.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func (r *TemplateResource) Schema(ctx context.Context, req resource.SchemaReques
339339
Default: booldefault.StaticBool(true),
340340
},
341341
"allow_user_auto_stop": schema.BoolAttribute{
342-
MarkdownDescription: "(Enterprise) Whether users can auto-start workspaces created from this template. Defaults to true.",
342+
MarkdownDescription: "(Enterprise) Whether users can auto-stop workspaces created from this template. Defaults to true.",
343343
Optional: true,
344344
Computed: true,
345345
Default: booldefault.StaticBool(true),

0 commit comments

Comments
 (0)