nbering / terraform-provider-ansible

"Logical" provider for integrating with an Ansible Dynamic Inventory script.
https://nbering.github.io/terraform-provider-ansible/
Mozilla Public License 2.0
329 stars 64 forks source link

Update to Go 1.16 and enable darwin/arm64 builds #38

Open gonzolino opened 3 years ago

gonzolino commented 3 years ago

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 commented 3 years ago

@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 :)

martin-1983 commented 2 years ago

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

armenr commented 2 years ago

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

armenr commented 2 years ago

@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.

gonzolino commented 2 years ago

@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 :)

armenr commented 2 years ago

I recommend this:

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

Termina1 commented 1 year ago

@nbering would be very grateful if you could merge this

bLuka commented 1 year ago

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

armenr commented 1 year ago

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