-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 plan coredumps on new and old code #1941
Comments
Also experiencing this unexpected EOF error during plan with azurerm v1.15.0 works ok with with v1.13.0 & v1.14.0 |
Downgrading to v1.13.0 with terraform v0.11.8 also crashes. Also tried v1.13.0 with terraform v0.11.7 and didn't work. Then, I went into Azure, removed two instances that were in terraform config that had failed initialization. Then ran terraform plan again and it worked. I tried on all the above versions and they all worked. It appears that the problem is when an Azure virtual machine is in a failed state that it causes terraform to crash during a terraform plan. To replicate, create a virtual machine in terraform for Azure. Have the machine get into a failed initialation state (for example, delete the virtual machine after initial creation but leave the disk), then try to do a terrraform plan against Azure. It should get back into this state. |
Looks great, we'll anticipate this in the 1.16.0 release. Thanks for the quick turnaround. Amazing work here. |
hey @georgespatton @abrocklesby Just to let you know that this fix has now landed in v1.16 of the AzureRM Provider (here's the full changelog](https://github.com/terraform-providers/terraform-provider-azurerm/blob/v1.16.0/CHANGELOG.md)). You can upgrade to to this version by specifying it in your provider block:
... and then running Thanks! |
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! |
Using the latest version:
Terraform v0.11.8
Terraform is crashing. I tried going back to old code as well as old versions of the provider.azurerm and provider.random providers. See this gist.
https://gist.github.com/georgespatton/34780ec9352998d371f8a4d99b6969fe
Steps to Reproduce
terraform plan
This worked 24 hours ago.
The text was updated successfully, but these errors were encountered: