-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Crash in 0.3.6 when changing availability zones - Unexpected EOF #977
Comments
./tf plan Error running plan: unexpected EOF 2015/02/15 16:44:36 terraform-provider-aws: encoding/gob.decodeUintReader(0x9a88a0, 0xc208053500, 0xc20813a2c3, 0x9, 0x9, 0x0, 0x1, 0x0, 0x0) !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Terraform crashed! This is always indicative of a bug within Terraform. !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! |
Found out why it was crashing. In an aws_autoscaling_group, I had this declaration: But I realized this was a list. This worked: |
I think this was fixed by #773. |
ok. Should install the dev version then? |
@gamename If you are able to verify that it no longer crashes on the master branch then that would be helpful (and the issue can be closed). |
ok... I'm trying to install/compile from source, but I'm getting these errors:
|
@gamename Seems like a broken Go environment (faulty GOROOT or what not). What's the output of |
@gamename Worth checking out https://github.com/hashicorp/terraform/blob/master/CONTRIBUTING.md#setting-up-go-to-work-on-terraform, I think @ceh is right. |
Thanks. I'll have a look and get back to you. |
Still getting this when trying to get the dependencies: ennis@tennisMBP: ~/go/src/github.com/hashicorp/terraform (master|✔)
I'm on version: |
@ceh Here's the go env: |
@gamename Do have a If so, try unsetting it with |
heh... That's working. :) What does that mean? (and thank you) |
Damn... 'make updatedeps' worked, but plain 'make' does this:
|
@gamename You probably had a shell variable pointing to a different GOROOT-location than the GOROOT of go env. The shell variable has higher preference. Unsetting it made the go tool use the built-in value. See http://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really for more details. The stringer issue you are running into next is basically saying that it cannot find the Go (The stringer issue also looks like a Go installation issue, and not specific to Terraform.) |
ok. I'll look at it. |
Got it working. Thanks for all the help. ...BUT.... I'm still able to crash terraform:
Error running plan: unexpected EOF !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! Terraform crashed! This is always indicative of a bug within Terraform. !!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!! |
@gamename Thank you for verifying that it is an issue on master. Greatly appreciated. Cheers. |
I still believe this is fixed. In every situation I can try (computed attributes, input variables, etc.) I get this:
I'm going to claim it as fixed! |
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. |
I was working with lookups and joins with variables when this happened. Per the instructions, I'll attach the crash log.
The text was updated successfully, but these errors were encountered: