terraform-provider-ad
terraform-provider-ad copied to clipboard
New Feature - ad_group_member resource
Description
I think it would be useful if there were a resource named something like ad_group_member
which could be used to control if a single entity was a member of an Active Directory Group. Other memberships to the target group would be ignored and preserved. Syntax would be similar to the existing ad_group_membership
resource.
Obviously, using ad_group_membership
and ad_group_member
with the same Active Directory Group would cause issues.
Potential Terraform Configuration
resource ad_group_member "gm" {
group_id = ad_group.g.id
group_member = ad_group.g2.id
}
References
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
This would be incredible useful. Currently I am having to have a map/list of users to then add as group members.
This is would be the best thing, is this provider still maintained though ?