Skip to content
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 fails to update serviceprincipalid #1214

Open
alexanderlinne opened this issue Nov 5, 2024 · 0 comments

Comments

@alexanderlinne
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and Azure DevOps Provider) Version

Affected Resource(s)

  • azuredevops_serviceendpoint_azurecr

Error

Error:  Updating service endpoint in Azure DevOps: Updating the authorization data is not allowed for Azure Container Registry type Docker endpoint. Updated field: 'serviceprincipalid'. Please pass the current value and try again.

Expected Behavior

The serviceprincipalid is updated by recreating the resource.

Actual Behavior

The terraform apply command runs into an error with an existing service connection.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant