Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritise this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritise the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Not all azuread_group types require replacement. While it isn't possible to change the overarching group type (Unified & Security) after group creation, changing the membership type from Assigned to Dynamic is fully supported in the REST APIs and portal.
It would be nice if there was a way to skip the force recreate for type options that don't require it, add a new property for assignment_type or have the type "DynamicMembership" added/removed based on the existence of the dynamic_membership block.
New or Affected Resource(s)
Potential Terraform Configuration
resource azuread_group "group" {
...
type = []
assignment_type = "DynamicMembership"
}
References
Community Note
Description
Not all azuread_group types require replacement. While it isn't possible to change the overarching group type (Unified & Security) after group creation, changing the membership type from Assigned to Dynamic is fully supported in the REST APIs and portal.
It would be nice if there was a way to skip the force recreate for type options that don't require it, add a new property for assignment_type or have the type "DynamicMembership" added/removed based on the existence of the dynamic_membership block.
New or Affected Resource(s)
Potential Terraform Configuration
References