-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform crashes when importing an Azure virtual machine #13974
Labels
Comments
Stack Trace:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
locked and limited conversation to collaborators
Apr 9, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform v0.9.3
Affected Resource(s)
azurerm_virtual_machine
Terraform Configuration Files
Not applicable.
Debug Output
It's all in the
crash.log
gist linked below.Panic Output
Here's the gist
Expected Behavior
The resource should've been imported.
Actual Behavior
Terraform crashed and the resource didn't get imported.
Steps to Reproduce
terraform import azurerm_virtual_machine.worker-web05-prod /subscriptions/<redacted>/resourceGroups/WebProd/providers/Microsoft.Compute/virtualMachines/worker-web05
Important Factoids
Maybe it's irrelevant but I created this virtual machine manually importing a managed disk.
Everything else has been successfully imported in the state, including the new managed disk, but for some reason the virtual machine is failing. In the past I've been able to import virtual machines just fine.
References
None.
The text was updated successfully, but these errors were encountered: