Error: Failed to install provider
Running aztfexport res "GUID" initialises and then errors out with an error (featured below). Terraform init for regular works fine.
Whilst it's running it does download the provider to the folder though.
Does aztfexport require open firewalls / proxy settings that normal Terraform does not? Any suggestions on a cause of this?
Error: Failed to install provider
Error while installing hashicorp/azurerm v4.24.0: releases.hashicorp.com: Get
"https://releases.hashicorp.com/terraform-provider-azurerm/4.24.0/terraform-provider-azurerm_4.24.0_windows_amd64.zip":
remote error: tls: unexpected message
* task error: error running terraform init: exit status 1
Error: Failed to install provider
Error while installing hashicorp/azurerm v4.24.0: could not query provider
registry for registry.terraform.io/hashicorp/azurerm: the request failed
after 2 attempts, please try again later: Get
"https://registry.terraform.io/v1/providers/hashicorp/azurerm/4.24.0/download/windows/amd64":
EOF
This is an issue of the terraform registry website, instead of this repo.
This is an issue of the terraform registry website, instead of this repo.
Except it works perfectly fine in the same vscode session on the same device when using "terraform init". Meanwhile "aztfexport res" outputs that error message. That's why I am asking here as the only difference is using aztfexport.
When you run terraform init, did you setup the same azurerm provider (same version). The aztfexport uses terraform to intialize (&download) the provider. Is this systematically happening?