You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ad_group_membership, it reads the current members from the remote and selects the objectGUID as the attribute to compare against the state. This causes an update of the resource everytime if not from the beginning defined with objectGUID. There are use-cases where the objectGUID is not known beforehand and is part of a dynamic workflow where depends functionality might not solve the issue and or makes it very complex.
Description
When using ad_group_membership, it reads the current members from the remote and selects the objectGUID as the attribute to compare against the state. This causes an update of the resource everytime if not from the beginning defined with objectGUID. There are use-cases where the objectGUID is not known beforehand and is part of a dynamic workflow where depends functionality might not solve the issue and or makes it very complex.
Potential Terraform Configuration
I forked this repository and implemented an option for it:
https://github.com/johanlundberg92/terraform-provider-ad
References
https://discuss.hashicorp.com/t/active-directory-group-membership/52254/3
Community Note
The text was updated successfully, but these errors were encountered: