ad_group_membership
does not permit declaration of an empty group
#165
Labels
bug
Something isn't working
Terraform Version and Provider Version
Windows Version
Windows Server 2019 Datacenter
Affected Resource(s)
ad_group_membership
Terraform Configuration Files
Expected Behavior
Test
should be created with explicitly no members.Actual Behavior
ad_group_membership
resource enforcesMinItems: 1
, and so will not permit explicit assignment of zero members.Steps to Reproduce
Important Factoids
We have partially worked around this issue with
for_each = { for group, members in local.group_members : group => members if length(members) > 0 }
logic on ourad_group_membership
resources, but have recently found that this does not consistently remove members when a given keys'members
transitions to empty.References
Community Note
The text was updated successfully, but these errors were encountered: