Skip to content
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 #72

Closed
hashibot opened this issue Jun 13, 2017 · 3 comments · Fixed by #426
Closed

Terraform crashes when importing an Azure virtual machine #72

hashibot opened this issue Jun 13, 2017 · 3 comments · Fixed by #426

Comments

@hashibot
Copy link

This issue was originally opened by @omame as hashicorp/terraform#13974. It was migrated here as part of the provider split. The original body of the issue is below.


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

  1. 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.

@hashibot hashibot added the crash label Jun 13, 2017
@HighwayofLife
Copy link

Directly related to #81 -- Terraform crashes when attempting to import an AzureVM with a Managed Disk.

@tombuildsstuff
Copy link
Contributor

Fixed in #426

@ghost
Copy link

ghost commented Apr 1, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants