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 - unexpected EOF #5625

Closed
ledor473 opened this issue Mar 14, 2016 · 10 comments
Closed

Terraform Crash - unexpected EOF #5625

ledor473 opened this issue Mar 14, 2016 · 10 comments

Comments

@ledor473
Copy link

Hi,

I'm pretty new with Terraform and now I get a crash whenever I run the terraform plan

Here's the crash.log
crash.txt

Let me know if anything else could help you!

Best regards

@stack72
Copy link
Contributor

stack72 commented Mar 14, 2016

Hi @ledor473,

I was able to find the following in the crash log:

2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: panic: runtime error: invalid memory address or nil pointer dereference
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: [signal 0xb code=0x1 addr=0x0 pc=0x6200c6]
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: 
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: goroutine 74 [running]:
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: panic(0x10ef260, 0xc82000a1a0)
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws:     /opt/go/src/runtime/panic.go:464 +0x3e6
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.flattenLambdaVpcConfigResponse(0xc820308e80, 0x0, 0x0, 0x0)
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/aws/structure.go:693 +0x336
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resourceAwsLambdaFunctionRead(0xc820510a20, 0xe10b60, 0xc82025c200, 0x0, 0x0)
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_lambda_function.go:260 +0x596
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Resource).Refresh(0xc82033a400, 0xc82050f260, 0xe10b60, 0xc82025c200, 0xc8202502a8, 0x0, 0x0)
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource.go:209 +0x43a
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Provider).Refresh(0xc82035eba0, 0xc820381780, 0xc82050f260, 0xc8204f0801, 0x0, 0x0)
2016/03/14 12:42:21 [DEBUG] terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/provider.go:187 +0x1da

Please can you provide the terraform version you are using and a sample of the config you are using that created the crash? Please exclude any secrets in it ;)

Thanks

Paul

@ledor473
Copy link
Author

Oh I forgot to include the version... I'm using: v0.6.12

Here's the .tf file I'm using (with some string replacement)
TF file

@stack72
Copy link
Contributor

stack72 commented Mar 14, 2016

Thanks @ledor473 :)

@stack72
Copy link
Contributor

stack72 commented Mar 14, 2016

Hi @ledor473,

I have just tested this and this is indeed an issue because of VPC support in Lambda. The good news here, is that it is already fixed in #5182 and will be released really soon!

Paul

@catsby
Copy link
Contributor

catsby commented Mar 14, 2016

Going to close this for now then, thanks for the digging @stack72

@ledor473 – let us know if the changes in #5182 don't fix things for your

Thanks!

@catsby catsby closed this as completed Mar 14, 2016
@ledor473
Copy link
Author

@stack72 Great!

I'll search how frequent do you release (there's probably a page in the documentation or somewhere). If it's too long I'll compile from source to unblock me.

Thanks for the very quick reply

@stack72
Copy link
Contributor

stack72 commented Mar 14, 2016

IF you want to try and compile from source as a test, that would be very useful! I believe we will release soon though

@ledor473
Copy link
Author

@stack72 I've managed to compile it and it worked flawlessly !

@stack72
Copy link
Contributor

stack72 commented Mar 18, 2016

@ledor473 thanks so much for letting me know. Sorry i wasn't in touch earlier, I have been travelling!

@ghost
Copy link

ghost commented Apr 27, 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 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 ghost locked and limited conversation to collaborators Apr 27, 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