pan-net / terraform-provider-powerdns

Terraform PowerDNS provider
https://www.terraform.io/docs/providers/powerdns/
Mozilla Public License 2.0
44 stars 48 forks source link

Build provider for Darwin ARM64 (Mac M1) #90

Closed RomLecat closed 3 years ago

RomLecat commented 3 years ago

Hi,

Now that recent Mac uses a new CPU architecture (Apple Silicon) based on ARM64 and with compatible Terraform builds, could you please build this provider for darwin arm64 ?

Thanks!

RomLecat commented 3 years ago

If anyone is interested, I built the provider for ARM64: terraform-provider-powerdns_darwin_arm64_v1.4.1.zip

Extract and move the file to ~/.terraform.d/plugins/registry.terraform.io/pan-net/powerdns/1.4.1/darwin_arm64.

splashx commented 3 years ago

The build has been added on 1.4.1 release.

I order to avoid breaking changes, the following changes were made:

@mbag maybe a new section in the README worth adding "Release" req? golang >= 1.16 etc.

mbag commented 3 years ago

@splashx I've added to README Requirements section the Go version >=1.16 and Goreleaser version >= v0.157.0 based on https://goreleaser.com/deprecations/#builds-for-darwinarm64

RomLecat commented 3 years ago

Thanks! Would you mind publishing it to Terraform Registry too ? We still have to install it manually because TF Registry is still at 1.4.0.

splashx commented 3 years ago

@RomLecat thanks for pointing that out, we were not aware the webhook missed the v1.4.1 tag/release. Could you please check now if everything is in order?

RomLecat commented 3 years ago

Release is now present and working on TF registry, thanks a lot!