Open Racle opened 3 months ago
Quick update.
Relogged with az login
(even while everything seemed to work)
Ran aztfexport resource-group --provider-name=azapi my-rg-group-name
Now it seems to be importing data with azapi. seems like that default provider failed for some reason.
@Racle bad record MAC
is a very internal error, which usually means network corruption of some sorts (like a proxy changing the contents of the TCP stream), or a severe issue in the TLS stack.\
So would you please double check your network setup, or try to target to a different provider version of azurerm
via --provider-version
?
@magodo tried using version 3.95.0, 3.0.0 and 2.99.0, all have same problem.
And like I said earlier, after removing terraform hidden files and running terraform init
, it works as intented and it downloads provider correctly without any errors (but doesn't export resource group of course), so I'm wondering why that can download and install provider correctly while this tool seems to fail the same thing.
@Racle That is weired... As the tool actually is doing nothing special up to the init part:
terraform.tf
and provider.tf
it not availableterraform init
via https://github.com/hashicorp/terraform-execOne thing you can do is to use the --dev-provider
option, which will skip the terraform init
, but it requires you have manually initialize the provider, or setup the dev provider settings beforehead.
New to this tool.
After running "Initializing" for little while, it throws error: (4 times same error)
I'm trying to export resource group with
aztfexport resource-group my-rg-group-name
. I'm already logged in withaz login
. It createsprovider.tf .terraform .terraform.lock.hcl terraform.tf
files to current folder.If I run these commands terraform seems to be working just fine
Is there some step I'm missing with this tool, or is this just broken for now?