In-house provider setup trouble

Having some trouble getting this to work. I thought maybe if the plugin were available locally that terraform would just find it. I’m using a community provider and copied it to ~/.terraform.d/plugins/local/camptocamp/pass/v1.2.1/terraform-provider-pass_v1.2.1 But currently getting this lookup error when running terraform init

terraform {
  required_providers {
    pass = {
      source = "local/camptocamp/pass"
      version = "1.2.1"

provider "pass" {
  store_dir     = "mhumesf"
  refresh_store = false

data "pass_password" "token" {
  path = "mhumesf/my-service/token"
$ terraform init && terraform plan

Initializing the backend...

Initializing provider plugins...
- Finding local/camptocamp/pass versions matching "1.2.1"...

Error: Failed to query available provider packages

Could not retrieve the list of available versions for provider
local/camptocamp/pass: could not connect to local: Failed to request discovery
document: Get "https://local/.well-known/terraform.json": dial tcp: lookup
local on no such host

I think the issue here is that your path isn’t quite right. Example from the upgrade guide:

So in your case, try this:


Changes: no v in the 1.2.1 directory, and add the appropriate os_arch directory (linux_amd64 in this case, or whatever is appropriate for your computer).

Hope this helps!

That did it! Thank you!