From fdc32df7e3e61dd6e4ab0bf9bf9c87894262aa13 Mon Sep 17 00:00:00 2001 From: Janne Liukkonen <12990590+janneliukkonen@users.noreply.github.com> Date: Fri, 18 Mar 2022 11:19:44 +0200 Subject: [PATCH] fix: do not force recreation of group Re-creating FA group on every role changes causes groups to lose every user assigned to them. By not forcing the recreation of TF resource, one can dynamically modify roles without risk of losing existing assignments. --- fusionauth/resource_fusionauth_group.go | 1 - 1 file changed, 1 deletion(-) diff --git a/fusionauth/resource_fusionauth_group.go b/fusionauth/resource_fusionauth_group.go index 0abc795..2d96039 100644 --- a/fusionauth/resource_fusionauth_group.go +++ b/fusionauth/resource_fusionauth_group.go @@ -32,7 +32,6 @@ func newGroup() *schema.Resource { Elem: &schema.Schema{Type: schema.TypeString}, Optional: true, Description: "The Application Roles to assign to this group.", - ForceNew: true, }, "tenant_id": { Type: schema.TypeString,