Closed davidcaste closed 2 years ago
Hi @davidcaste ! Thanks for the detailed description.
I've updated go version and as of v3.0.11, you should be able to use this provider on Darwin+ARM64. I could not test it, so please test it and come back with the result.
No reply came from davidcaste, but I got one "thumbs up" - so I'm closing this. Feel free to open another issue in case it doesn't work.
Hi!!
One of our developers has a new shiny Apple M1 laptop, and when he tries to do a terraform init it fails to download the provider. These new Apple M1 laptops aren't using anymore the
darwin_amd64
, but thedarwin_arm64
architecture.The problem is very easy to replicate with the following configuration:
Create a new root module and define the provider in the following way:
Create a temporary directory, e.g.
/tmp/terraform.d/plugins
, and try to mirror there the different architectures our team is using:I have very little knowledge of golang, but in order to generate this architecture implies bump golang to version >= 1.16. There's another fork of https://github.com/hashicorp/terraform-provider-mysql which already did that, if I'm not wrong this is the PR https://github.com/winebarrel/terraform-provider-mysql/pull/30/.
Thanks!!