Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for the Terraform provider for Yandex Cloud
    • Resolving the 'failed to query available provider packages' error when using Terraform
    • Zone is set as public and private at the same time
    • Troubleshooting the 'invalid provider registry host' error

In this article:

  • Issue description
  • Solution
  1. Terraform provider for Yandex Cloud
  2. Troubleshooting the 'invalid provider registry host' error

Troubleshooting the 'invalid provider registry host' error

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution

Issue descriptionIssue description

When trying to run terraform init, you see this error:

Initializing the backend...

Initializing provider plugins...
- Finding latest version of yandex-cloud/yandex...
╷
│ Error: Invalid provider registry host
│ 
│ The host "registry.terraform.io" given in in provider source address "registry.terraform.io/yandex-cloud/yandex" does not
│ offer a Terraform provider registry.

SolutionSolution

Move the .terraformrc file from the /home/user/terraform directory to the root of your home directory (/home/user/), and then run terraform init again.

Was the article helpful?

Previous
Zone is set as public and private at the same time
Next
All solutions for Partner
© 2025 Direct Cursus Technology L.L.C.