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

Unable to get google providers for M1 Mac "darwin_arm64" #8629

Closed
ramimmadi opened this issue Mar 8, 2021 · 8 comments · Fixed by #8693 or hashicorp/terraform-provider-google-beta#3057

Comments

@ramimmadi
Copy link

ramimmadi commented Mar 8, 2021

Hi ,

I am trying to setup terraform in my Mac M1 and Its been so difficult as I am getting multiple errors like

Provider registry.terraform.io/hashicorp/google v3.58.0 does not have a
package available for your current platform, darwin_arm64.

My terraform version:

v0.14.6

I have tried to install the provider by following steps mentioned in Readme.md of

hashicorp/terraform-provider-google

Go Version:

go version go1.16rc1 darwin/arm64

However nothing works at the moment. I guess it is because of Mac M1 using a different chip but It would be great If you can provide some kind of workaround for this issue.

@melinath
Copy link
Collaborator

Related issue upstream: hashicorp/terraform#27257

There is some discussion in that thread about how to build providers locally for your architecture. However, it seems like we should also make sure there are builds available for darwin_arm64.

@melinath melinath assigned megan07 and unassigned melinath Mar 12, 2021
@melinath
Copy link
Collaborator

This seems likely to be a release pipeline issue.

@megan07
Copy link
Contributor

megan07 commented Mar 15, 2021

I believe this will just be a matter of us updating to Go 1.16.0, I think the release pipeline is ready for this.

@hazcod
Copy link

hazcod commented Mar 25, 2021

Seems like the PR is ready for merging, yay!

@bobrik
Copy link

bobrik commented Mar 25, 2021

The latest release still doesn't have package for darwin_arm64, is something else missing?

@melinath
Copy link
Collaborator

@bobrik It looks like the PR was just merged, so it should be included when the 3.63.0 release is cut.

@bobrik
Copy link

bobrik commented Mar 25, 2021

Github confused me by showing the date of the release (which happened after merge), not the date of the commit.

image

@ghost
Copy link

ghost commented Apr 25, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.