`Hello Team ,
I am trying to import the existing resources running in Azure , In this case in my local windows machine i installed terraformer terraformer-azure-windows-amd64.exe and terraform terraform version Terraform v1.6.5 on windows_386 , provider registry.terraform.io/hashicorp/azurerm v3.0.0 but unfortunately i faced with below error
Error *********************************************************
PS C:\terraformer> .\terraformer-azure-windows-amd64.exe import azure -R dr-rg-infra-northeurope -r azurerm_virtual_machine
2023/12/08 09:13:28 Testing if Obtaining a token from the Azure CLI is applicable for Authentication..
2023/12/08 09:13:28 Using Obtaining a token from the Azure CLI for Authentication
2023/12/08 09:13:29 Getting OAuth config for endpoint https://login.microsoftonline.com/ with tenant 8eac64b0-XXXXXX
2023/12/08 09:13:29 azurerm importing... azurerm_virtual_machine
2023/12/08 09:13:29 azurerm error importing azurerm_virtual_machine, err: azurerm: azurerm_virtual_machine not supported service
I am trying to import the existing resources running in Azure .In this case in my local windows machine i installed terraformer terraformer-azure-windows-amd64.exe and terraform terraform version Terraform v1.6.5 on windows_386 , provider registry.terraform.io/hashicorp/azurerm v3.0.0 but unfortunately i faced with below error `
The command you're using to import an existing
Azure Virtual Machineis not valid.To import existing
Azure Virtual Machinesyou have to use VMresource id, refer the Terraform registry.You can find the
Resource IDof the existingVirtual Machineby navigating to yourVM, and then selecting the JSON View option.Import Command
Response: