Changing the display_name
of an azuread_group
forces replacement when it should instead update the existing group's name
#523
Labels
Milestone
Community Note
Terraform (and AzureAD Provider) Version
Affected Resource(s)
azuread_group
Terraform Configuration Files
Step 1:
Step 2:
Expected Behavior
When changing the
display_name
of anazuread_group
, the name of the existing group should be updated.Actual Behavior
The provider forces the group to be destroyed and a new one to be created.
Steps to Reproduce
terraform apply
terraform apply
References
I'm aware that this behavior is documented, but it makes no sense to me. The Graph API allows changing group names, so why does the provider force replacement? I'm not sure about the legacy AAD API, but
use_microsoft_graph = true
does not change the behavior, so I assume it's by design.The text was updated successfully, but these errors were encountered: