-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azuredevops_serviceendpoint_azurecr failing to destroy #1131
Comments
@bwesolowskicf This is controlled by service. Service will check the related resources in the AAD when trying to delete the service connection. |
@xuzhang3 Hi, I'm not quite sure what does 'controlled by service' mean. Is there anything I can do to resolve this issue? |
@bwesolowskicf ADO service will check the related app status in AAD when you trying to delete |
unfortunately the issue is still there. I have tried to delete the same resource as above. The only workaround I have found working for me is to delete the secret via the portal or do a |
@karts499 Have you tried |
Community Note
Terraform (and Azure DevOps Provider) Version
Terraform v1.9.0
microsoft/azuredevops v1.2.0
Affected Resource(s)
azuredevops_serviceendpoint_azurecr
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
We have yaml files for team-specific configuration and we create resources such as Azure DevOps project per such yaml file.
In our QA pipeline we have tests for creating new resources and (since we had some issues with terraform destroy in the past) we achieve that by deploying all resources, running some tests and then we delete the yaml file and run terraform apply. That way all "Temp" resources are deleted and on next run we can recreate them again.
What we expect here is for the service endpoint to be deleted.
Actual Behavior
We get an error.
Steps to Reproduce
terraform apply
terraform apply
- this will try to remove all resources and fail on the service connectionImportant Factoids
References
The text was updated successfully, but these errors were encountered: