diff --git a/CHANGELOG.md b/CHANGELOG.md index 40326a862..a4839be57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ nav_order: 1 ## [MAJOR.MINOR.PATCH] - YYYY-MM-DD +## [4.13.1] - 2024-01-19 + - Fix `aiven_organization_user` datasource get method ## [4.13.0] - 2024-01-12 diff --git a/docs/resources/organization_user.md b/docs/resources/organization_user.md index 779770f99..df59a8fcf 100644 --- a/docs/resources/organization_user.md +++ b/docs/resources/organization_user.md @@ -3,6 +3,8 @@ page_title: "aiven_organization_user Resource - terraform-provider-aiven" subcategory: "" description: |- + This resource is deprecated; please use aiven_organization_user data source instead. + The Organization User resource allows the creation and management of an Aiven Organization User. During the creation of aiven_organization_userresource, an email invitation will be sent to a user using user_email address. If the user accepts an invitation, they will become @@ -13,6 +15,7 @@ description: |- # aiven_organization_user (Resource) +This resource is deprecated; please use aiven_organization_user data source instead. The Organization User resource allows the creation and management of an Aiven Organization User. During the creation of `aiven_organization_user`resource, an email invitation will be sent diff --git a/internal/sdkprovider/service/organization/organization_user.go b/internal/sdkprovider/service/organization/organization_user.go index c43f5c99e..cf829181d 100644 --- a/internal/sdkprovider/service/organization/organization_user.go +++ b/internal/sdkprovider/service/organization/organization_user.go @@ -57,6 +57,7 @@ var aivenOrganizationUserSchema = map[string]*schema.Schema{ func ResourceOrganizationUser() *schema.Resource { return &schema.Resource{ Description: ` + This resource is deprecated; please use aiven_organization_user data source instead. The Organization User resource allows the creation and management of an Aiven Organization User. During the creation of ` + "`aiven_organization_user`" + `resource, an email invitation will be sent @@ -74,10 +75,10 @@ eliminate the member from the organization if one has accepted an invitation pre Timeouts: schemautil.DefaultResourceTimeouts(), Schema: aivenOrganizationUserSchema, DeprecationMessage: ` -This resource is deprecated, please use aiven_organization_user datasource instead. +This resource is deprecated; please use aiven_organization_user data source instead. Invitation of organization users is not supported anymore via Terraform. Therefore -creation of this resource is not supported anymore. We reccoemnd to use WebUI to create -and organization user invitation. And upon receiving an invitation, a user can accept it +creation of this resource is not supported anymore. We recommend using WebUI to create +and organization user invitations. Upon receiving an invitation, a user can accept it using WebUI. Once accepted, the user will become a member of the organization and will be able to access it via Terraform. `,