CLOUDdotRu / evo-terraform

Cloud.ru Evolution Terraform provider
https://cloud.ru/docs/terraform-evolution/ug/index.html
MIT License
2 stars 1 forks source link

The host "cloud.ru" given in provider source address "cloud.ru/cloudru/cloud" does not offer a Terraform provider registry. #13

Open patsevanton opened 1 day ago

patsevanton commented 1 day ago

Здравствуйте.

Имеется репо https://github.com/patsevanton/cloud-ru-kuma

Делал из примера https://github.com/CLOUDdotRu/evo-terraform/blob/main/examples/main.tf

При запуске terraform init получаю ошибку

Initializing the backend...

Initializing provider plugins...
- Finding cloud.ru/cloudru/cloud versions matching "1.0.0"...
╷
│ Error: Invalid provider registry host
│ 
│ The host "cloud.ru" given in provider source address "cloud.ru/cloudru/cloud" does not offer a Terraform provider registry.
patsevanton commented 1 day ago

cat .terraformrc

provider_installation {
   network_mirror {
      url = "https://terraform.cloud.ru/"
      include = ["registry.terraform.io/*/*"]
   }
   direct {
      exclude = ["registry.terraform.io/*/*"]
   }
}