On Sat, Jun 26, 2021 at 07:10:58PM +0200, Antoine Jacoutot wrote:
> On Sat, Jun 26, 2021 at 07:06:38PM +0300, Gregory Edigarov wrote:
> > Hello,
> > 
> > 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.
> >   Provider releases are separate from Terraform CLI releases, so not all
> > providers are available for all platforms. Other versions of this
> > provider may have       different platforms supported.
> > 
> > $ uname -a    
> > OpenBSD lbld12.duckdns.org 6.9 GENERIC.MP#92 amd64
> > 
> > How am I supposed to get providers ? May be a community have  one that
> > works under OpenBSD?
> > Any advice?
> 
> Yeah I was made aware of this.
> I could re-add the bazillion providers back to ports but it's a huge PITA to
> maintain and it won't support multiple providers version.

Moving to ports@
I think your best bet is to convince hashicorp to add openbsd to GoReleaser for
each of their modules...

-- 
Antoine

Reply via email to