A provider named “” could not be found in the Terraform Registry.

Posted by

After installing Terraform and GO. I want to talk with my Hyper-v server for deploying some VMs.

I used this provider: https://github.com/taliesins/terraform-provider-hyperv.git

How to Install the Hyperv provider:

Now there is a file created: terraform-provider-hyperv.exe
After a terraform init you get the following message.

“A provider named “hyperv” could not be found in the Terraform Registry.”

This is because the custom provider is not installed in your default plugin directory.

The Windows default plugin directory is located in the following location: (C:\Users\YOURUSERNAME\AppData\Roaming\terraform.d\plugins\windows_amd64)

With PowerShell:

Copy the (terraform-provider-hyperv.exe) file you created with the go build in the plugin folder.

Now navigate to your cloned git directory \ examples \ basic and do a terraform init.

Leave a Reply

Your email address will not be published. Required fields are marked *