Finally built all the providers I need for GCP, AWS, and local from Go sources and put them in appropriate place to look by Terraform.
Works like a charm with modern providers. It seems it isn't needed to put them into ports, but having builds for openbsd_amd64 in Terraform repo should be fine to download it automatically. Martin ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Saturday, June 26, 2021 11:29 PM, jslee <[email protected]> wrote: > 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

