Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for the Yandex Cloud Terraform provider
    • Resolving the `Failed to query available provider packages` error when using Terraform
    • Zone appears as both public and private
    • Resolving the `Invalid provider registry host` error

In this article:

  • Issue description
  • Solution
  • If the issue persists
  1. Yandex Cloud Terraform provider
  2. Resolving the `Failed to query available provider packages` error when using Terraform

Fixing the Permission denied to create UDP listener in folder error when using Terraform

Written by
Yandex Cloud
Updated at December 17, 2025
  • Issue description
  • Solution
  • If the issue persists

Issue descriptionIssue description

When trying to use Terraform for creating, modifying, or deleting cloud resources, you get this error message:

│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider yandex-cloud/yandex: could not connect to registry.terraform.io:
│ Failed to request discovery document: 403 Forbidden

SolutionSolution

HashiCorp has blocked Russian IP addresses from accessing their repositories. Use the HashiCorp registry mirror in Yandex Cloud. To do this, follow these steps:

  1. Configure Terraform using this guide.
  2. Go to the folder containing the Terraform manifest code.
  3. Run terraform init -upgrade.

If the issue persistsIf the issue persists

If the above actions did not help, create a support ticket. Provide the following information in your ticket:

  1. Contents of the ~/.terraformrc file for Linux or MacOS devices, or %APPDATA%/terraform.rc for Microsoft Windows® devices. For macOS and Linux, ~ is shorthand for the user’s home directory.
  2. Error output when trying to apply the manifest code with the terraform plan or terraform apply command.
  3. curl -vk registry.terraform.io and curl -vk https://terraform-mirror.yandexcloud.net command output.

Was the article helpful?

Previous
All solutions for the Yandex Cloud Terraform provider
Next
Zone appears as both public and private
© 2026 Direct Cursus Technology L.L.C.