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 crash during azure vm importing #239

Closed
hashibot opened this issue Aug 11, 2017 · 4 comments
Closed

terraform crash during azure vm importing #239

hashibot opened this issue Aug 11, 2017 · 4 comments

Comments

@hashibot
Copy link

This issue was originally opened by @mokevnin as hashicorp/terraform#15785. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

0.10.0

Terraform Configuration Files

provider "azurerm" {
  subscription_id = "..."
  client_id       = "..."
  client_secret   = "...
  tenant_id       = "..."
}

resource "azurerm_virtual_machine" "evaluator7" {
  # (resource arguments)
}

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

Panic Output

https://gist.github.com/mokevnin/63c1869c6c3ccb9ca6f6a589921e4ae4

Expected Behavior

resource should be imported

Actual Behavior

panic

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform import azurerm_virtual_machine.evaluator7 /subscriptions/dc5586f1-fbbc-4694-b6b6-33960250bad9/resourceGroups/hexlet/providers/microsoft.compute/virtualMachines/evaluator7

Important Factoids

References

@tombuildsstuff
Copy link
Contributor

Hey @mokevnin

Thanks for opening this issue :)

Taking a quick look into this, it appears the crash you're seeing has been fixed in #208, which was released in version 0.1.5 of the AzureRM Provider.

Would it be possible for you to try upgrading to version 0.1.5 of the AzureRM Provider? You should be able to do this using:

provider "azurerm" {
  # ...
  version = "0.1.5"
  # ...
}

Thanks!

@mokevnin
Copy link

it works! Thanks.

@tombuildsstuff
Copy link
Contributor

Hey @mokevnin

That's great to hear - thanks for confirming that :)

tombuildsstuff added a commit that referenced this issue Sep 13, 2017
@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 👉 [email protected]. 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

No branches or pull requests

3 participants