Skip to content

Commit e9d6a9c

Browse files
committed
gen
1 parent e14d3fc commit e9d6a9c

File tree

4 files changed

+35
-58
lines changed

4 files changed

+35
-58
lines changed

docs/functions/example.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ provider "coderd" {
2323

2424
### Optional
2525

26-
- `endpoint` (String) Example provider attribute
26+
- `token` (String) API token for communicating with the deployment. Most resource types require elevated permissions. Defaults to $CODER_SESSION_TOKEN.
27+
- `url` (String) URL to the Coder deployment. Defaults to $CODER_URL.

docs/resources/example.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/resources/user.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "coderd_user Resource - coderd"
4+
subcategory: ""
5+
description: |-
6+
A user on the Coder deployment.
7+
---
8+
9+
# coderd_user (Resource)
10+
11+
A user on the Coder deployment.
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `email` (String) Email address of the user.
21+
- `username` (String) Username of the user.
22+
23+
### Optional
24+
25+
- `login_type` (String) Type of login for the user. Valid types are 'none', 'password', 'github', and 'oidc'.
26+
- `name` (String) Display name of the user. Defaults to username.
27+
- `password` (String, Sensitive) Password for the user. Required when login_type is 'password'. Passwords are saved into the state as plain text and should only be used for testing purposes.
28+
- `roles` (Set of String) Roles assigned to the user. Valid roles are 'owner', 'template-admin', 'user-admin', and 'auditor'.
29+
- `suspended` (Boolean) Whether the user is suspended.
30+
31+
### Read-Only
32+
33+
- `id` (String) User ID

0 commit comments

Comments
 (0)