m1-terraform-provider-helper: Error: Failed to install provider
Receiving the error Error: Failed to install provider when installing hashicorp/template in a repo which uses aws provider. Below is the exact error.
│ Error: Failed to install provider
│
│ Error while installing hashicorp/template v2.2.0: the local package for
│ registry.terraform.io/hashicorp/template 2.2.0 doesn't match any of the
│ checksums previously recorded in the dependency lock file (this might be
│ because the available checksums are for packages targeting different
│ platforms)
Following is the command that I used.
m1-terraform-provider-helper install hashicorp/template -v v2.2.0
Expected Behavior
When using the command the build generated should match the checksum in the lock file.
Actual Behavior
The generated build is not matching the checksum in lock file
Steps to Reproduce (including precondition)
- Run
m1-terraform-provider-helper install hashicorp/template -v v2.2.0 - Run
terraform init - The error is generated at the end of above command
Screenshot on This Problem (if possible)
Output after running terraform init
Your Environment
- OS: MacOS Monterey 12.2.1
- m1-terraform-provider-helper version: Latest, installed yesterday
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (12 by maintainers)
@nishant-ci Should be fixed with version
0.5.1. Thanks for reporting!Okay, thanks. That was very helpful! I will provide a fix in a few hours!