scottwinkler / terraform-provider-shell

Terraform provider for executing shell commands and saving output to state file
Mozilla Public License 2.0
279 stars 60 forks source link

Apple Silicon (M1) darwin_arm64 Support #100

Closed franciscoandrade82 closed 2 years ago

franciscoandrade82 commented 2 years ago

Community Note

Description

The new Apple M1 chips use a darwin_arm64 architecture and this provider does not work for that. I'd love to be able to use this provider on my new laptop.

alisonjenkins commented 2 years ago

In lieu of there being a M1 build I have created a fork of this repository and built the provider with M1 support until the support is added by @scottwinkler .

You can find that here: https://registry.terraform.io/providers/alanjjenkins/shell/latest but please note that while it says 1.7.9 it is in effect identical to @scottwinkler 's 1.7.8 code wise.

I do not intend to maintain this indefinitely and have just done this to cover us for M1 support until @scottwinkler adds support to his release of this provider.

So please subscribe to this issue so we know when Scott adds support and then switch back to his version when he does (I will not delete my version but will not update it past when @scottwinkler provides support for M1).

scottwinkler commented 2 years ago

@alanjjenkins @franciscoandrade-unit thanks guys for bringing this to my attention. the problem was with the goreleaser. i had to update the version of go from 1.14 to 1.17. Support for darwin + arm64 didn't come about until go 1.16. Anyways this is now part of the 1.7.10 release.

franciscoandrade82 commented 2 years ago

Thank you @scottwinkler !

alisonjenkins commented 2 years ago

Nice one thanks @scottwinkler I did not expect you to be so quick with this 😆 . I will get switched over to your new version.