From c81158e1cdfa9ed4e49321bd9715f9d07db9367c Mon Sep 17 00:00:00 2001 From: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> Date: Tue, 13 Jun 2023 10:25:13 +0200 Subject: [PATCH] Fix import issue in auth0_user_role resource --- internal/auth0/user/resource_roles.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/auth0/user/resource_roles.go b/internal/auth0/user/resource_roles.go index 096d7c61d..2d851a299 100644 --- a/internal/auth0/user/resource_roles.go +++ b/internal/auth0/user/resource_roles.go @@ -57,9 +57,6 @@ func upsertUserRoles(ctx context.Context, data *schema.ResourceData, meta interf return diag.FromErr(err) } - userID := data.Get("user_id").(string) - data.SetId(userID) - return readUserRoles(ctx, data, meta) }