Compiling doesn't work for provider 'petoju/mysql'
10Bude10 opened this issue · comments
10Bude10 commented
Unable to compile provider 'petoju/mysql' (https://registry.terraform.io/providers/petoju/mysql/latest) with m1-terraform-provider-helper.
Expected Behavior
Downloads and compiles provider 'petoju/mysql' without any problem.
Actual Behavior
m1-terraform-provider-helper install petoju/mysql -v v3.0.42
fails and can't be compiled because of
error: reference not found
Steps to Reproduce (including precondition)
Installed m1-terraform-provider-helper and Go via brew.
Called in terminal:
m1-terraform-provider-helper install petoju/mysql -v v3.0.42
Return in terminal:
Getting provider data from terraform registry
2023/09/25 11:19:34 Getting provider data from https://registry.terraform.io/v1/providers/petoju/mysql
2023/09/25 11:19:34 Provider data: {https://github.com/petoju/terraform-provider-mysql Terraform MySQL provider – unofficial fork}
Getting source code...
2023/09/25 11:19:34 Extracted repo https://github.com/petoju/terraform-provider-mysql to terraform-provider-mysql
2023/09/25 11:19:34 Resetting /Users/user/.m1-terraform-provider-helper/terraform-provider-mysql and pulling latest changes
error: reference not found
Your Environment
- OS: MacOS 13.5.2
- m1-terraform-provider-helper version: 0.9.0
Rondineli commented
+1
Roman Danilin commented
Can see the same issue
m1-terraform-provider-helper install hashicorp/random -v 2.3.0
Getting provider data from terraform registry
2023/11/17 15:59:12 Getting provider data from https://registry.terraform.io/v1/providers/hashicorp/random
2023/11/17 15:59:12 Provider data: {https://github.com/hashicorp/terraform-provider-random terraform-provider-random}
Getting source code...
2023/11/17 15:59:12 Extracted repo https://github.com/hashicorp/terraform-provider-random to terraform-provider-random
...
error: reference not found