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

Release with darwin/arm64 Support for Apple M1 processors #254

Closed
spuder opened this issue Nov 16, 2021 · 5 comments
Closed

Release with darwin/arm64 Support for Apple M1 processors #254

spuder opened this issue Nov 16, 2021 · 5 comments

Comments

@spuder
Copy link

spuder commented Nov 16, 2021

Related to hashicorp/terraform#28041 (comment)

If you try and use this provider on an apple M1 cpu, you get the following error

terraform providers lock \
-platform=windows_amd64 \
-platform=darwin_amd64 \
-platform=linux_amd64 \
-platform=darwin_arm64 \
-platform=linux_arm64
- Fetching hashicorp/nomad 1.4.11 for windows_amd64...
- Obtained hashicorp/nomad checksums for windows_amd64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.11 for darwin_amd64...
- Obtained hashicorp/nomad checksums for darwin_amd64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.11 for linux_amd64...
- Obtained hashicorp/nomad checksums for linux_amd64 (signed by HashiCorp)
╷
│ Error: Could not retrieve providers for locking
│ 
│ Terraform failed to fetch the requested providers for darwin_arm64 in order to calculate their checksums: some providers could not be installed:
│ - registry.terraform.io/hashicorp/nomad: provider registry.terraform.io/hashicorp/nomad 1.4.11 is not available for darwin_arm64.

Please release darwin_arm64 versions of this provider so Apple M1 users can use terraform with nomad.

The consul and vault providers by comparison already have darwin_arm64 builds. See

Related: actions/runner-images#2187

@spuder
Copy link
Author

spuder commented Nov 16, 2021

@bflad You released the darwin/arm64 builds for vault/consul. Is this something you could help with for nomad?

@spuder spuder changed the title Create darwin_arm64 builds for Apple M1 processors Release with darwin/arm64 Support for Apple M1 processors Nov 16, 2021
@lgfa29
Copy link
Contributor

lgfa29 commented Nov 24, 2021

Hi @spuder 👋

The latest release includes ARM builds for Darwin:
https://releases.hashicorp.com/terraform-provider-nomad/1.4.16/terraform-provider-nomad_1.4.16_darwin_arm64.zip

Could you give a try and see if that works for you?

@spuder
Copy link
Author

spuder commented Nov 24, 2021

Yes, worked, thank you very much

terraform providers lock \
-platform=windows_amd64 \
-platform=darwin_amd64 \
-platform=linux_amd64 \
-platform=darwin_arm64 \
-platform=linux_arm64
- Fetching hashicorp/nomad 1.4.15 for windows_amd64...
- Obtained hashicorp/nomad checksums for windows_amd64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.15 for darwin_amd64...
- Obtained hashicorp/nomad checksums for darwin_amd64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.15 for linux_amd64...
- Obtained hashicorp/nomad checksums for linux_amd64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.15 for darwin_arm64...
- Obtained hashicorp/nomad checksums for darwin_arm64 (signed by HashiCorp)
- Fetching hashicorp/nomad 1.4.15 for linux_arm64...
- Obtained hashicorp/nomad checksums for linux_arm64 (signed by HashiCorp)

Success! Terraform has updated the lock file.

@spuder spuder closed this as completed Nov 24, 2021
@Shaja-dev
Copy link

Hi @spuder 👋

The latest release includes ARM builds for Darwin: https://releases.hashicorp.com/terraform-provider-nomad/1.4.16/terraform-provider-nomad_1.4.16_darwin_arm64.zip

Could you give a try and see if that works for you?

with what application should I OPEN IT?

@lgfa29
Copy link
Contributor

lgfa29 commented Oct 1, 2024

Hi @Shaja-dev,

I'm not sure I understand the question. Terraform providers are automatically downloaded by Terraform for the correct platform you're using. Check https://developer.hashicorp.com/terraform/language/providers for more information.

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

No branches or pull requests

3 participants