m1-terraform-provider-helper icon indicating copy to clipboard operation
m1-terraform-provider-helper copied to clipboard

Compiling doesn't work for provider 'petoju/mysql'

Open 10Bude10 opened this issue 9 months ago • 2 comments

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

10Bude10 avatar Sep 25 '23 09:09 10Bude10