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 dereference #30760
Comments
Seeing the same issue running AWS resource updates, lots of resources so can't print out exactly. Can't get crash log file because it's on Terraform Cloud. Having tried multiple Terraform 1.0 and 1.1 versions. In the run before I got this error
|
Thanks for the report! This seems likely to be the same root cause as #30646. We still don't have a reproduction case for this. @kerryhatcher, can you share anything more about your environment? Some specific questions:
|
@alisdair I am using Terraform Cloud, workspace is in remote execution mode. We auth with a token stored locally.
|
Just started getting a similar error when planning our infrastructure for Azure. Observed behaviour My own guessing
Haven't verified thought but while writing I thought of this and thought I'd add it... Setup
using remote backend (azure container blob) run in an azure devops pipeline using a service principal. Error
|
@tomaswalander Thanks for reporting that crash. It's a different panic; would you mind opening a new issue, please? |
@alisdair I just confirmed that it was indeed due to removing the Do you still want me to open a new issue? :) |
Yes, please! Any crash is a bug that we'd like to fix if we can. |
@alisdair Sorry I forgot all about this since it never popped back up again.
|
Thanks! As noted above, we believe this has been fixed and released in Terraform 1.1.8, so hopefully you don't see it again. |
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. |
I was applying some ACM/CloudFront changes (AWS) when I got this error. Had just completed a successful plan with
-out
. After copying down the info from the error I ran another successful plan and applied further without any problems. Unable to reproduce since then but thought I'd still send this in since the error output specifically asked for that.Also going to take some time to upgrade terraform and providers after this.
Here is the plan: https://gist.github.com/kerryhatcher/3a5e1e86d3145478132df8f2ce7d996e
Terraform Version
Terraform Configuration Files
Private info. Here some data that could be relevant:
Resources involved in planned changes:
resource "aws_acm_certificate"
resource "aws_cloudfront_distribution"
Each of the above is created with a for_each
Debug Output
not available, unable to reproduce.
Expected Behavior
Apply changes from plan
Actual Behavior
Terraform crashed
Steps to Reproduce
Unable to reproduce
Additional Context
Running directly in VS Code terminal
References
Non known
The text was updated successfully, but these errors were encountered: