Unable to install google provider version 4.22.0
valliavadhanula opened this issue · comments
Unable to install google provider version 4.22.0
Expected Behavior
To install google provider version 4.22.0
Actual Behavior
terraform-provider-google % m1-terraform-provider-helper install hashicorp/google -v v4.22.0
Repo: https://github.com/hashicorp/terraform-provider-google
GitRepo: https://github.com/hashicorp/terraform-provider-google
HEAD is now at 42078995d Update CHANGELOG.md (#11613)
2022/06/17 08:17:00 version: v4.22.0
error: reference not found
Steps to Reproduce (including precondition)
m1-terraform-provider-helper install hashicorp/google -v v4.22.0
Screenshot on This Problem (if possible)
{Please write here}
Your Environment
- OS: macOS Monterey version 12.4 -- M1 Pro
- m1-terraform-provider-helper version: 1.2.1
Thanks for the issue! I investigated and it is actually a bug in the tool. Will fix it in the upcoming days. For now you could issue a manual pull on the local provider repo:cd $HOME/.m1-terraform-provider-helper/terraform-provider-google && git checkout main && git pull
The issue is the following:
- when we
install
any version of a provider for the first time, we checkout the repo and, thus, have the newest changes at that point in time (let's call itp1
) - Now after a few weeks, we want to build another version of the provider. If the release of this version is newer than
p1
, we are unable to build that version, because we have not pulled the changes afterp1
Solution: At every install
we pull all newest changes since the last pull 🤷
@valliavadhanula Fix should be released with v0.6.1