terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

Provider for Darwin_arm64

Open flavius-dinu opened this issue 3 years ago • 16 comments

Description

At the moment, there is no available provider for Apple M1 processor. I believe there are many developers that switched to this platform and having support for this, will make our lives easier.

Error: Incompatible provider version

Provider registry.terraform.io/hashicorp/oci v4.17.0 does not have a package
available for your current platform, darwin_arm64.

Provider releases are separate from Terraform CLI releases, so not all
providers are available for all platforms. Other versions of this provider may
have different platforms supported.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

flavius-dinu avatar Mar 15 '21 09:03 flavius-dinu

@flavius-dinu - Thanks for reporting this. This is on our roadmap and we are planning this to coincide when there is an official M1 version of Terraform Core from HashiCorp. Let us know if you have more questions.

srishtipmishra avatar Mar 18 '21 13:03 srishtipmishra

@srishtipmishra The latest terraform releases now have arm builds and other providers have added support by simply upgrading to Go 1.16 e.g. https://github.com/Mongey/terraform-provider-kafka/pull/173/files

It looks like this provider might depend on the deprecated hashicorp/template provider which doesn't have an ARM build, so work would also need to be done to move over to https://github.com/hashicorp/terraform-provider-cloudinit

cablespaghetti avatar Jun 11 '21 08:06 cablespaghetti

@srishtipmishra any timeline on the provider support for arm64?

rafee avatar Sep 01 '21 17:09 rafee

Any updates?

unencoded avatar Oct 05 '21 19:10 unencoded

Hi, this is a major blocker for us as new joiners are getting new M1 laptops - Any update on this? All other major providers have got darwin_arm64 builds now.

bhavicp avatar Nov 07 '21 09:11 bhavicp

Hello, Any updates on this, this is major blocker to develop natively on M1 Mac.

nitesh8860 avatar Nov 19 '21 08:11 nitesh8860

Workaround in the meantime: https://ivan-delic.medium.com/oci-terraform-provider-for-apple-m1-52bdbce9c83c

ivandelic avatar Dec 01 '21 13:12 ivandelic

While it's good that @ivandelic provided an easy solution, it brings more questions than answers. If the steps are as simple as just compiling it on a M1 Mac, what's stopping Oracle from doing it? I initially thought it's dependency issue (i.e. it uses some packages as dependency, which are still not ported to darwin_arm64). However, given Apple is fully committed to ARM machines now, it makes no sense from Oracle perspective to delay the support for new machines.

rafee avatar Dec 07 '21 18:12 rafee

"ALL THE THINGS!!!"

bpourian avatar Dec 14 '21 09:12 bpourian

@srishtipmishra the Terraform Core v1.0.2 already support darwin_arm64. There's any update to add this request to the official support for the module?

chucre avatar Dec 14 '21 09:12 chucre

It's about to be an year for this request and we are still building it manually in 2022.

nitesh8860 avatar Jan 24 '22 06:01 nitesh8860

Yep the issue is still there. I built and published mine (only on a specific version) https://registry.terraform.io/providers/SamuelBagattin/oci/latest

SamuelBagattin avatar Jan 24 '22 17:01 SamuelBagattin

@SamuelBagattin @nitesh8860 @chucre The work has started to support this, it will soon be available.

vrmurthy avatar Jan 24 '22 19:01 vrmurthy

Thanks @SamuelBagattin.

norberto-enomoto avatar Feb 14 '22 02:02 norberto-enomoto

This issue was resolved almost two weeks ago with the release of v4.64.0: https://github.com/terraform-providers/terraform-provider-oci/pull/1522#issuecomment-1047169314

It seems sadly appropriate for this issue that it wasn't updated. At least the darwin-arm64 builds are finally available.

adamcstephens avatar Mar 06 '22 20:03 adamcstephens

@srishtipmishra This might be a good time to close this issue.

rafee avatar Mar 06 '22 21:03 rafee

We are very sorry that we couldn't respond to each and every issue reported on GitHub. Although we have refined the process to prioritize customer issues on GitHub, since this issue was reported a while ago, there is a good chance it may have been fixed in the latest version of Terraform Provider OCI.

If you are still experiencing this issue, please create a new issue and label it as Bug.

ravinitp avatar May 04 '23 08:05 ravinitp