On Sun, 27 Jun 2021, at 02:06, Gregory Edigarov wrote:
> I remember that for earlier versions of terraform all providers were
> available as  OpenBSD packages/ports, that is now changed.
> 
> $ terraform init  
> Initializing the backend...
> 
> Initializing provider plugins...
> - Finding latest version of hashicorp/aws...
>   Error: Incompatible provider version
>   Provider registry.terraform.io/hashicorp/aws v3.47.0 does not have a
> package available for your current platform, openbsd_amd64.

This is a very recent version of the AWS provider, which suggests to me that 
you haven’t pinned your provider versions in the provider declarations. I 
recommend doing that

> How am I supposed to get providers ? May be a community have  one that
> works under OpenBSD?

It sounds like Hashicorp don’t provide binaries, so you’ll need to install a Go 
toolchain and build them

John

Reply via email to