From 354b536ecec95bc5d18dae3dbfd69800675187ad Mon Sep 17 00:00:00 2001 From: Ivan Savciuc Date: Mon, 29 Jan 2024 16:22:06 +0200 Subject: [PATCH] fix(org): removal of org group member (#1567) --- CHANGELOG.md | 1 + .../service/organization/organization_user_group_member.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d892feaa4..aa3891ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ nav_order: 1 - Update example code in flink_application_version docs to be valid and not use deprecated schema members +- Fix `aiven_organization_user_group_member` deletion ## [4.13.2] - 2024-01-25 diff --git a/internal/plugin/service/organization/organization_user_group_member.go b/internal/plugin/service/organization/organization_user_group_member.go index f947f384e..55edf7612 100644 --- a/internal/plugin/service/organization/organization_user_group_member.go +++ b/internal/plugin/service/organization/organization_user_group_member.go @@ -275,7 +275,7 @@ func (r *organizationUserGroupMembersResource) Delete( aiven.OrganizationUserGroupMemberRequest{ Operation: "remove_members", MemberIDs: []string{ - plan.GroupID.ValueString(), + plan.UserID.ValueString(), }, }, ); err != nil {