lord-kyron / terraform-provider-phpipam

Terrform provider for PHPIPAM
https://registry.terraform.io/providers/lord-kyron/phpipam/latest
Apache License 2.0
54 stars 30 forks source link

Run this provider on Windows 10 x64 #18

Closed basic39 closed 4 years ago

basic39 commented 4 years ago

Hello, when I try to run this provider on Windows 10 x64, I get following error: "The program or feature ... cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available." It looks like it is a 16 Bit app. As I know, there is no way to run x16 on x64 windows.

Can you please provide an other version of the provider?

lord-kyron commented 4 years ago

I've never used it on windows so I am not sure abot it. @pavel-z1 - what do you think about that?

pavel-z1 commented 4 years ago

I am personally don't use Windows too.

But, customers can build exe file themselves. Here described how to build GO application for Windows x64:

Example:

GOOS=windows GOARCH=amd64 go build

Installation of terraform on Windows: https://learn.hashicorp.com/terraform/getting-started/install.html

WIndows plugin directory - %APPDATA%\terraform.d\plugins https://www.terraform.io/docs/extend/how-terraform-works.html

I've tested phpipam terraform plugin on windows. Seems all works:

image