From a4bb3c5337cb85c4558f99e0d832e08a1ad600f6 Mon Sep 17 00:00:00 2001 From: Robin Breathe Date: Wed, 18 Jan 2023 12:45:26 +0100 Subject: [PATCH] fix: permit explicitly empty group membership Fixes: #165 --- ad/resource_ad_group_membership.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ad/resource_ad_group_membership.go b/ad/resource_ad_group_membership.go index f3cde0e9..d29d737e 100644 --- a/ad/resource_ad_group_membership.go +++ b/ad/resource_ad_group_membership.go @@ -33,7 +33,7 @@ func resourceADGroupMembership() *schema.Resource { Required: true, Description: "A list of member AD Principals. Each principal can be identified by its GUID, SID, Distinguished Name, or SAM Account Name. Only one is required", Elem: &schema.Schema{Type: schema.TypeString}, - MinItems: 1, + MinItems: 0, }, }, }