-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: v5.71.0: archive has incorrect │ checksum #39676
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
│ Error: Failed to install provider│ │ Error while installing hashicorp/aws v5.71.0: archive has incorrect│ checksum│ zh:21f5d77f2859d9ddb5fafa7b6cfd0efdf82977c631ce788e56728afc6da17323│ (expected│ zh:c164d3ed13eb4c28ac243221591fc4ac3cfe621f8cd20af533dedd98a6387363) quick-fix
|
This issue is intermittent for us - we have ~ 10 CI pipelines, they started producing this error on terraform init this morning, seems that re-running them a few times they will pass and download 5.71 successfully and other times throw the checksum error. |
Hello Team, 09:58:11 │ Error: Failed to install provider As a workaround, I am locking the version to 5.70.0 in my provider file. |
+1, with same wrong checksum, but some time correct |
`Error: Failed to install provider Error while installing hashicorp/aws v5.71.0: archive has incorrect checksum |
It does not work here ... Still the same issue. However this :
is a good workaround while waiting for the issue to be fixed. |
The github action looks to have published a version without publish SHA256SUMS |
The problem is only with provider for linux amd64 architecture, for other architectures the checksums look fine. |
Tested by adding version = "= 5.70.0" as provided by @gurupreet18121990 and it seems to work on Ubuntu 22.04 |
The workaround to force the previous version is working fine for us.
but I don't want to add this in our 20+ repos, so hope for a real fix asap. |
@sunitha8687 I think you've added it to your provider definition, rather than to your terraform required_providers (as per https://developer.hashicorp.com/terraform/language/providers/requirements)? |
Can anyone confirm if there is any ETA for this fix, I don't want to change all the repos in the company. |
we have everything blocked, if anyone needs a shortcut and, as us, was using the grep -rl "~> X.X" your/path | xargs sed -i "s/~> X.X/= 5.70.0/g" |
This is causing issues for us as well. |
Can we please get an update on the status of this @ewbankkit? This has been blocking us all day and implementing the workaround to avoid v5.71.0 in every one of our modules is ridiculous. Even if a simple re-release is done to bump to 5.71.1 so that the latest version is able to install. |
Hello @austinvalle, is there any update on this bug resolution? Thanks! |
it's seems to be fixed 💚 |
the issue has been fixed. |
This have been fixed! :) |
* Workaround for hashicorp/terraform-provider-aws#39676 * Fixed lint error
Is the version gone entirely now? |
Hey everyone 👋 Thank you very much for taking the time to raise this, and for adding reactions to help ensure it was brought to our attention -- that's extremely helpful. We ran into an issue with our release process that led to this, and so have pulled the Since the issue reported here has been resolved, I'm going to close this issue out. Thank you again to all who reported -- if you run into issues in the future, please do continue to let us know! |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
anyone else still running into issues like this? Updating my lock files I see
Still need the workaround provided above to resolve this. |
Doesn't this go against best practices of deleting versions and instead a new version should be released that rolls back the changes? Unsure if something like renovate bot can handle removing a version. |
yes Error: Resource instance managed by newer provider version |
@justinretzolk are we going to release a new version anytime soon ? |
@jithinjose2004 thanks for checking in here. We plan on releasing version As far as the best practice of not deleting a version, and instead releasing a new version that rolls back the changes -- in this case, that wasn't really an option. The issue wasn't that there was a particularly offensive bug in the provider; rather that an issue with the release process caused issues with the release itself. Leaving the broken release up would mean that anyone who attempted to install it (most without the context of this GitHub Issue) would receive checksum errors, and never be able to install the release at all. Many people opt not to pin provider versions and so would not be able to use the provider without updating their configurations to explicitly pin a lower version. Queue the influx of high-severity support cases. The natural next question is as to why we didn't release a new version immediately. Before we could do so, we needed to resolve the issues with the release process -- something we didn't feel we could guarantee on a Friday before a long weekend (half of our team is in Canada, where today is a national holiday). Compounding the difficulty of releasing a new version as quickly as possible, HashiConf, our annual conference is this week. With all of those factors in mind, Thursday was the soonest that we were able to get the next release scheduled for. I hope that information helps to give a bit more context as to why we are where we are. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.8.5
AWS Provider Version
5.71.0
Affected Resource(s)
No response
Expected Behavior
pass
Actual Behavior
│ Error: Failed to install provider │ │ Error while installing hashicorp/aws v5.71.0: archive has incorrect │ checksum │ zh:e746662547a839b0344729783bb57bdf6899f78d3de19e545d58d0acff9567c4 │ (expected │ zh:c164d3ed13eb4c28ac243221591fc4ac3cfe621f8cd20af533dedd98a6387363)
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
skip
Steps to Reproduce
install provider
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: