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

Update to Go 1.16 and enable darwin/arm64 builds

Open gonzolino opened this issue 3 years ago • 9 comments

Update to go 1.16.

Since go 1.16 adds support for darwin/arm64 this PR will make it possible to run this provider on ARM-based Macs.

See https://golang.org/doc/go1.16#darwin for the go changelog regarding this change.

gonzolino avatar Apr 07 '21 12:04 gonzolino

@nbering It would be nice if you could have a look at this PR, since this is currently blocking the provider from being used on M1 macs :)

gonzolino avatar Apr 12 '21 19:04 gonzolino

@nbering Would also appreciate if you could have a look at this PR.

martin-1983 avatar Dec 14 '21 10:12 martin-1983

@nbering - Please, please can we get this merged? This is becoming show-stopper-level bad for our org. :-(

armenr avatar Apr 13 '22 15:04 armenr

@gonzolino - is there any way we can temporarily point our terraform/terragrunt configs directly to your repo, where the m1 builds are supported, until @nbering sees this/merges this?

I've tried 12 permutations of how to reference a module directly by git...none seem to work, and I don't get how the terraform documentation isn't clearer about it. I'm sure the mistake/error is mine, but I've all but given up hope.

armenr avatar Apr 18 '22 06:04 armenr

@armenr I don't think that you can point terraform directly to my repo. I would need to create a release on https://registry.terraform.io with my fork. While I could create such a release, I would be happier if @nbering would merge this PR. I do not really have the capacity to maintain a fork of this provider.

I just saw that @nbering merged a PR 26 days ago. So maybe he will come back and merge this PR, too :)

gonzolino avatar Apr 20 '22 18:04 gonzolino

I recommend this:

https://kreuzwerker.de/en/post/use-m1-terraform-provider-helper-to-compile-terraform-providers-for-mac-m1

armenr avatar Apr 22 '22 14:04 armenr

@nbering would be very grateful if you could merge this

Termina1 avatar Oct 07 '22 09:10 Termina1

Hello, bumping. I came accross the issue, it could be great to merge this please :)

bLuka avatar Nov 22 '22 16:11 bLuka

It's been 3/4 of a year since I first had this problem, and found this issue.

For anyone else who lands here, I just want to repeat that this tool helps solves the problem, and is great for anyone running into issues with providers that are unmaintained or old (not ARM-friendly) -->

https://github.com/kreuzwerker/m1-terraform-provider-helper

armenr avatar Nov 30 '22 03:11 armenr