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

invalid memory address or nil pointer reference #6707

Closed
leemhenson opened this issue May 17, 2016 · 7 comments
Closed

invalid memory address or nil pointer reference #6707

leemhenson opened this issue May 17, 2016 · 7 comments
Labels
bug crash provider/aws waiting-response An issue/pull request is waiting for a response from the community

Comments

@leemhenson
Copy link

Terraform Version

0.6.16 6e586c8

Affected Resource(s)

aws_elastic_beanstalk_environment seems to be the one where it crashed

Panic Output

https://gist.github.com/leemhenson/068a12fce26b514c40d029f4b6f28daa

@stack72
Copy link
Contributor

stack72 commented May 17, 2016

HI @leemhenson

Apologies for this happening. In order to try and help us identify the issue, please can you post the config that is causing the error (minus secrets)

Thanks

Paul

@stack72 stack72 added the waiting-response An issue/pull request is waiting for a response from the community label May 17, 2016
@leemhenson
Copy link
Author

Hi. This isn't a production aws account so nothing in here is particularly secret, but I've used the hashicorp public key to encrypt it anyway:

http://s3hub-a093d33b9dd701d3b44148d81ad43449e0e46d79c7f6adb937c44339b.s3.amazonaws.com/terraform.tgz.gpg

Let me know if I've done it wrong and you can't read it.

@leemhenson
Copy link
Author

Ah, I'm 80% sure this is due to the following error coming out in the eb logs:

Creating load balancer failed Reason: Server Certificate not found for the key: arn:aws:iam::[account id]:server-certificate/[cert name]

It seems to crash terraform rather than being a 'graceful' error.

@leemhenson
Copy link
Author

Yep, fixing the ref to the server certificate has fixed the terraform crash.

@stack72
Copy link
Contributor

stack72 commented May 17, 2016

@leemhenson

thanks for the info here. I guess we need to get the right code in place for this. I will see if one of the team can decode the package

P.

@catsby
Copy link
Contributor

catsby commented Jun 20, 2016

Fixed in #7222 , thanks @dharrisio !

Thank you @leemhenson for reporting!

@catsby catsby closed this as completed Jun 20, 2016
@ghost
Copy link

ghost commented Apr 25, 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 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug crash provider/aws waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

No branches or pull requests

3 participants