Closed alexanderlinne closed 1 month ago
Additionally, if resources like azuredevops_group_membership
, azuredevops_project_permissions
or azuredevops_git_permissions
are used for the group and the group is deleted from state with terraform state rm
, the provider attempts to recreate them. This of course fails, given that the group and it's associated permissions and memberships no longer exist.
The group status flag was ignored by SDK internal
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_group
Terraform Configuration Files
Anonymized example:
Debug Output
Panic Output
Expected Behavior
The group is recreated on the second apply and the members are added again.
Actual Behavior
The provider detects the drift for the
azuredevops_group_membership
and tries to add the members to the group, butazuredevops_group
does not detect that the group has been deleted, which leads to the following error:Steps to Reproduce
terraform apply
terraform apply
Important Factoids
References
0000