logzio / terraform-provider-logzio

Terraform provider for logz.io alerts, endpoints and users
Apache License 2.0
19 stars 17 forks source link

Apple Silicon (M1) darwin_arm64 Support #97

Closed bryanhorstmann closed 2 years ago

bryanhorstmann commented 2 years ago

Are there any plans to support darwin_arm64? I currently need to run a dedicated amd64 version of terraform in order to use this provider on my m1.

I noticed that you have the darwin / arm64 combination enabled in .goreleaser.yml but the asset is not available in releases.

When trying to init using arm64 I get the following error:

Initializing provider plugins...
- Finding hashicorp/aws versions matching "~> 3.48"...
- Finding logzio/logzio versions matching "~> 1.2"...
- Using hashicorp/aws v3.70.0 from the shared cache directory
╷
│ Error: Incompatible provider version
│ 
│ Provider registry.terraform.io/logzio/logzio v1.7.1 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.
╵

ERRO[0012] 1 error occurred:
        * exit status 1
mirii1994 commented 2 years ago

Hi @bryanhorstmann thanks for notifying us! :) We will try to recreate and solve this issue.

bryanhorstmann commented 2 years ago

Thanks @mirii1994! Look forward to seeing this become a thing :)

If there is anything I can do to test/assist, I'm happy to.

mgermy commented 2 years ago

Is there any plan to release support to darwin_arm64? I've been unable to use the package because of this

mirii1994 commented 2 years ago

Hi friends, Seems like this issue is caused by the fact that the Go version in our provider is < 1.16, which is the version where the support for darwin/arm64 has started. We are working on upgrading our provider's Go version, and will release a new version soon.

mirii1994 commented 2 years ago

@bryanhorstmann @mgermy v1.8.1 is out, and I see that the darwin/arm64 asset was created :) Please let us know if this solves your issue.

smelchior commented 2 years ago

works great for me :)

mirii1994 commented 2 years ago

Awesome! Closing this issue.