Hi ,
I am new to terraform , trying to run terraform init command but below error thrown away.
Someone could help me to fix the issue. I read online we also can have static plugins but unaware how can we do it so.
C:\TerraformFiles> terraform init
Initializing the backend…
Initializing provider plugins…
- Finding hashicorp/azurerm versions matching “2.53.0”…
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider
hashicorp/azurerm: could not connect to registry.terraform.io: Failed to
request discovery document: Get
“https://registry.terraform.io/.well-known/terraform.json”: net/http: request
canceled while waiting for connection (Client.Timeout exceeded while awaiting
headers)
Thanks & Regards,
Tarun