diff --git a/docs/resources/organization.md b/docs/resources/organization.md index 11c8aa4..28d717e 100644 --- a/docs/resources/organization.md +++ b/docs/resources/organization.md @@ -62,7 +62,7 @@ resource "coderd_organization" "blueberry" { - `icon` (String) - `org_sync_idp_groups` (Set of String) Claims from the IdP provider that will give users access to this organization. - `role_sync` (Block, Optional) Role sync settings to sync organization roles from an IdP. (see [below for nested schema](#nestedblock--role_sync)) -- `workspace_sharing` (String) Workspace sharing setting for the organization. Valid values are `everyone` and `none`. +- `workspace_sharing` (String) Workspace sharing setting for the organization. Valid values are `everyone` and `none`. Requires a Coder Deployment running v2.32.0 or later. ### Read-Only diff --git a/internal/provider/organization_resource.go b/internal/provider/organization_resource.go index 405b4c4..bfe6d6b 100644 --- a/internal/provider/organization_resource.go +++ b/internal/provider/organization_resource.go @@ -141,7 +141,7 @@ This resource is only compatible with Coder version [2.16.0](https://github.com/ }, "workspace_sharing": schema.StringAttribute{ MarkdownDescription: "Workspace sharing setting for the organization. " + - "Valid values are `everyone` and `none`.", + "Valid values are `everyone` and `none`. Requires a Coder Deployment running v2.32.0 or later.", Optional: true, Computed: true, Validators: []validator.String{