terraform-provider-azuredevops: Error while installing microsoft/azuredevops v0.9.0: checksum list has โ unexpected SHA-256 hash
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
Provider - 0.9.0
TF - Terraform v1.5.6
Affected Resource(s)
terraform plan will not finish as it states
Error while installing microsoft/azuredevops v0.9.0: checksum list has unexpected SHA-256 hash 37c776ae90f5b9bcd0a3c9b7f9b987971d77ebaccd20c23e1b9789c6c5c526a7 (expected 067e7408bdea5c52c3635236a09b48a221d8deb7ba072d5e5b9ccf323fb5d75d)
Yesterday this was working and nothing has changed in the code.
I tested by putting the version of the provider back to 0.8.0 and this works all ok
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 63
- Comments: 20 (2 by maintainers)
Thanks to @jaredfholgate for the workaround.
Sorry to bring this error to the provider. An attempt was made to update the document, but unexpectedly the provider was also updated, which also updated the SHA hash.
v0.9.0 will not be restored. Users have just upgraded their ADO provider to v0.9.0 will have the same issue if restored
A new version v0.9.1 has been released. Please update the provide with
terraform init -upgrade
How is it blocking as you can simply use
0.8.0
?@xuzhang3 man look how many people are leveraging this provider every day! maybe MS can see this and get more devs on the project.
For anyone following this, I did message Xu when I spotted this issue earlier today, but he was offline. He is in China time zone and I am sure will resolve first thing in his time zone (approx 1am GMT).
In the meantime, if you can downgrade to 0.8.0 for anything urgent. If you are reliant on 0.9.0 functionality Iโm afraid there is not a simple workaround right now.
One tip that could help. I had a cached version of the provider in another project. I managed to get 0.9.0 working by following these steps:
.terraform\providers\registry.terraform.io\microsoft
to the equivalent for the project you are trying to get working..terrafrom.lock.hcl
file into the equivalent for your broken project.I appreciate this is no use if you donโt have a copy somewhere else or you are running in CI/CD.
The issue is that
0.9.0
was republished via #878. This should have created a net-new version (looking at the PR, Iโd guess0.9.1
). However, this was not the case. The original0.9.0
should be restored (and arguably, determine why the CI configuration allowed this to happen in the first place).Can someone enlighten me why downgrades are so difficult? Iโm pretty sure Iโm missing something here.
On Thu, Sep 7, 2023, 19:59 Tyler Walker @.***> wrote:
I agree. I think someone has made a change and committed it to 0.9.0 and not versioned it correctly to the next 0.9.1
You canโt overwrite code in released versions with out changing the version number.
This has caused me a headache all day, but human error cannot be avoided and I still appreciate the hard work you have all done writing this provider.