I am facing issues from azure metadata service when I am trying to run my terraform plan. Things I tried.
- removing ~/.azure folder , re-tried
az login
from browser. - removed ~/.Identity folder as well , but still the same.
- Also added client_id , client_secret , etc from provider block but no luck.
Error: retrieving environments from Azure MetaData service: Get "https:///metadata/endpoints?api-version=2019-05-01": http: no Host in request URL
on main.tf line 1, in provider "azurerm":
1: provider "azurerm" {
Any help would be greatly appreciated. I tried already to check if this was raised before but no luck.
az login
is broken. – vgdubazurerm
provider? Also, it might help if you add to the question description terraform version, azurerm provider version, how you configure terraform (environment-variables, terraform properties, etc) – Ihor Kliushnikov