when trying to initiate my directory i get the “│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/jenkins: provider registry registry.terraform.io does not have a
│ provider named Terraform Registry”
even thouh i have passed the jenkins provider as seen on the registery. I have terraform installed on my windows and currently using version 1.4.1_windows_386.
provider “google” {
project = var.project
region = var.region
zone = var.zone
}
provider “jenkins” {
server_url = “https://jenkins.url”
username = “admin”
password = “password”
}
terraform {
required_providers {
jenkins = {
source = “hashicorp/jenkins”
version = “0.9.2”
}
}
}
You probably meant to use taiidani/jenkins
instead of hashicorp/jenkins
as source
https://registry.terraform.io/providers/taiidani/jenkins/latest
thanks alot really appreciate
1 Like