Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11363

In-house provider setup trouble

$
0
0

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 8.8.8.8:53: no such host

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>