Skip to content
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

Error to install hashicorp/random 3.6.0 #166

Open
Lethgir opened this issue Jan 8, 2024 · 1 comment
Open

Error to install hashicorp/random 3.6.0 #166

Lethgir opened this issue Jan 8, 2024 · 1 comment

Comments

@Lethgir
Copy link

Lethgir commented Jan 8, 2024

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 Lethgir changed the title Error during installing hashicorp/random 3.6.0 Error to install hashicorp/random 3.6.0 Jan 8, 2024
@ri-roee
Copy link

ri-roee commented Feb 23, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants