-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Packer with HCL crashes on missing variable default. #8730
Comments
Hey @phaer awesome, thanks for bubbling this up ! 🙏 Fixing this now |
Hello there I think I have a fix with one of our upstream libraries zclconf/go-cty#44 and hopefully this is the correct fix and we'll get a patch real soon. |
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. |
Overview of the Issue
I accidentally left out the default value for "proxmox_username" below, which results in packer crashing with a segmentation fault.
Reproduction Steps
Run the attached build file with the mentioned packer config
Packer version
Packer v1.5.3-dev
(23fa310)
Simplified Packer Buildfile
puppetmaster.pkr.hcl
Operating system and Environment details
OpenSuSE Leap 15.1, amd64
Log Fragments and crash.log files
crash.log
The text was updated successfully, but these errors were encountered: