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
Fixes#230.
To avoid users running into circular dependency issues with the `group_sync` block, we'll deprecate the block and add a resource solely for configuring organization group sync.
-`display_name` (String) Display name of the organization. Defaults to name.
59
-
-`group_sync` (Block, Optional) Group sync settings to sync groups from an IdP. (see [below for nested schema](#nestedblock--group_sync))
59
+
-`group_sync` (Block, Optional, Deprecated) Group sync settings to sync groups from an IdP.
60
+
61
+
~> **Deprecated** This block is deprecated. Use the `coderd_organization_group_sync` resource instead. (see [below for nested schema](#nestedblock--group_sync))
60
62
-`icon` (String)
61
63
-`org_sync_idp_groups` (Set of String) Claims from the IdP provider that will give users access to this organization.
62
64
-`role_sync` (Block, Optional) Role sync settings to sync organization roles from an IdP. (see [below for nested schema](#nestedblock--role_sync))
-`field` (String) The claim field that specifies what groups a user should be in.
43
+
-`mapping` (Map of List of String) A map from OIDC group name to Coder group ID.
44
+
-`organization_id` (String) The ID of the organization to configure group sync for.
45
+
46
+
### Optional
47
+
48
+
-`auto_create_missing` (Boolean) Controls whether groups will be created if they are missing. Defaults to false.
49
+
-`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.
50
+
51
+
## Import
52
+
53
+
Import is supported using the following syntax:
54
+
55
+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
0 commit comments