Skip to content

Commit 85891d6

Browse files
committed
dogs
1 parent 753eaa9 commit 85891d6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/resources/organization.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,33 @@ An organization on the Coder deployment
2323

2424
- `description` (String)
2525
- `display_name` (String) Display name of the organization. Defaults to name.
26+
- `group_sync` (Block, Optional) (see [below for nested schema](#nestedblock--group_sync))
2627
- `icon` (String)
28+
- `role_sync` (Block, Optional) (see [below for nested schema](#nestedblock--role_sync))
2729

2830
### Read-Only
2931

3032
- `id` (String) Organization ID
3133

34+
<a id="nestedblock--group_sync"></a>
35+
### Nested Schema for `group_sync`
36+
37+
Optional:
38+
39+
- `auto_create_missing` (Boolean) Controls whether groups will be created if they are missing.
40+
- `field` (String) The claim field that specifies what groups a user should be in.
41+
- `mapping` (Map of List of String) A map from OIDC group name to Coder group ID.
42+
- `regex_filter` (String) A regular expression that will be used to filter the groups returned by the OIDC provider. Any group not matched will be ignored.
43+
44+
45+
<a id="nestedblock--role_sync"></a>
46+
### Nested Schema for `role_sync`
47+
48+
Optional:
49+
50+
- `field` (String) The claim field that specifies what organization roles a user should be given.
51+
- `mapping` (Map of List of String) A map from OIDC group name to Coder organization role.
52+
3253
## Import
3354

3455
Import is supported using the following syntax:

0 commit comments

Comments
 (0)