Error to install hashicorp/random 3.6.0
Lethgir opened this issue · comments
Since the last update of hashicorp/random, the helper is not able to install it
Actual Behavior
TF_HELPER_LOG=debug m1-terraform-provider-helper install hashicorp/random -v 3.6.0
Getting provider data from terraform registry
2024/01/08 11:42:50 Getting provider data from https://registry.terraform.io/v1/providers/hashicorp/random
2024/01/08 11:42:51 Provider data: {https://github.com/hashicorp/terraform-provider-random terraform-provider-random}
Getting source code...
2024/01/08 11:42:51 Extracted repo https://github.com/hashicorp/terraform-provider-random to terraform-provider-random
INFO[0000] Plain open /Users/jeremy/.m1-terraform-provider-helper/terraform-provider-random
2024/01/08 11:42:51 Resetting /Users/jeremy/.m1-terraform-provider-helper/terraform-provider-random and pulling latest changes
INFO[0001] Bash execution output: Votre branche est à jour avec 'origin/main'.
Déjà à jour.
INFO[0001] Checking out 3.6.0
error: reference not found
Steps to Reproduce (including precondition)
TF_HELPER_LOG=debug m1-terraform-provider-helper install hashicorp/random -v 3.6.0
Your Environment
- OS: MacOS Ventura 13.2.1
- m1-terraform-provider-helper version: 0.9.0
@Lethgir I was able to get this working by adding the v
char to the version
m1-terraform-provider-helper install hashicorp/random -v v3.6.0
Getting provider data from terraform registry
2024/02/23 09:47:29 Getting provider data from https://registry.terraform.io/v1/providers/hashicorp/random
2024/02/23 09:47:29 Provider data: {https://github.com/hashicorp/terraform-provider-random terraform-provider-random}
Getting source code...
2024/02/23 09:47:29 Extracted repo https://github.com/hashicorp/terraform-provider-random to terraform-provider-random
2024/02/23 09:47:29 Resetting /Users/robustintelligenceit/.m1-terraform-provider-helper/terraform-provider-random and pulling latest changes
Compiling...
Successfully installed hashicorp/random v3.6.0