-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
archive has incorrect │ checksum #2312
Comments
Hi, https://terragrunt.gruntwork.io/docs/features/caching/#clearing-the-terragrunt-cache |
It actually happens every time and I even tried to change the version, clear the current workspace cache, uninstall both terraform and terragrunt, and reinstalled it but nothing helps. But when I tried "terraform init" with terraform codebase it worked without any issue. |
This happens for us when you use
When you run |
See issue #1212 for additional discussion, assuming this is what is hitting you. |
@tjstansell can you share the initialization script you mention or a general idea of how you are doing this? We have hundreds of Terragrunt files and using Thank you in advance! |
Our script recursively scans for any |
@tjstansell thank you you gave me some ideas! |
I started getting this morning this type of error in GitHub workflow (no cache in TF used) with recently released 5.71: Initializing provider plugins...
- Finding hashicorp/aws versions matching ">= 5.62.0, >= 5.67.0, >= 5.68.0, >= 5.70.0"...
- Installing hashicorp/aws v5.71.0...
╷
│ Error: Failed to install provider
│
│ Error while installing hashicorp/aws v5.71.0: archive has incorrect
│ checksum
│ zh:e746662547a839b0344729783bb57bdf6899f78d3de19e545d58d0acff9567c4
│ (expected
│ zh:c164d3ed13eb4c28ac243221591fc4ac3cfe621f8cd20af533dedd98a6387363)
╵
Error: Terraform exited with code 1.
Error: Process completed with exit code 1. but it works fine when ran locally on MacOS laptop: Initializing provider plugins...
- Finding hashicorp/aws versions matching ">= 5.62.0, >= 5.67.0, >= 5.68.0, >= 5.70.0"...
- Installing hashicorp/aws v5.71.0...
- Installed hashicorp/aws v5.71.0 (signed by HashiCorp)
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized! Any idea why checksums doesn't match on Linux OS (GitHub) and works on MacOS ? |
Might be a problem with terraform, a simple --edit-- |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for raising this issue. |
Error: Failed to install provider
│
│ Error while installing hashicorp/aws v4.34.0: archive has incorrect
│ checksum
│ zh:c8cc597cba3e94a32f398638189bec49813c27671a2fc50074bd2aab0c8e0f51
│ (expected
│ zh:44e763adae92489f223f65866c1f8b5342e7e85b95daa8d1f483a2afb47f7db3)
The text was updated successfully, but these errors were encountered: