When changing the service_endpoint_authentication_scheme both the azuredevops_serviceendpoint_azurerm and azuredevops_securityrole_assignment are planned for recreation.
Actual Behavior
The azuredevops_serviceendpoint_azurerm is planned for recreation, but the provider plans to update the azuredevops_securityrole_assignment in-place. During apply, the service endpoint gets destroyed and the update of the security role assignment fails since the service endpoint no longer exists.
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_securityrole_assignment
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
When changing the
service_endpoint_authentication_scheme
both theazuredevops_serviceendpoint_azurerm
andazuredevops_securityrole_assignment
are planned for recreation.Actual Behavior
The
azuredevops_serviceendpoint_azurerm
is planned for recreation, but the provider plans to update theazuredevops_securityrole_assignment
in-place. During apply, the service endpoint gets destroyed and the update of the security role assignment fails since the service endpoint no longer exists.Steps to Reproduce
terraform apply
Important Factoids
References
0000