Hi there,
I am installing a custom terraform provider plugin on a Windows 10 machine, but I am having problems to initialize the plugin accordingly.
The provider works correctly on MacOS but not on Windows. When I try to initialize the provider using terraform init: it returns the following error:
Error: Invalid provider registry host
The host “test.com” given in provider source address “test.com/test/test” does not offer a Terraform provider registry.
The plugin is located in the required folder as per Terraform specifications %APPDATA%/terraform.d/plugin/test.com/test/test/1.0.0/windows_amd64
Here is a snippet of my providers.tf file
terraform {
required_providers {
test = {
version = “1.0.0”
source = “test.com/test/test”
}
}
}
I am using Terraform 1.0.7. I have the same plugin that runs without problems on MacOS but the only issue has been on Windows 10 machines.
Has anyone faced any problems like this?
Thanks