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

crash when local variable removed #13304

Open
phillip-constantine opened this issue Feb 20, 2025 · 0 comments
Open

crash when local variable removed #13304

phillip-constantine opened this issue Feb 20, 2025 · 0 comments
Labels

Comments

@phillip-constantine
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Overview of the Issue

If I comment out a specific local variable, packer crashes on 'build' and 'validate' commands

Reproduction Steps

Not sure exactly, but I think it's:

  1. reference an original local inside another local
  2. delete the original local
  3. run a build command

Might be exacerbated by having this spread across multiple files

Packer version

1.12

Simplified Packer Template

https://gist.github.com/phillip-constantine/8297fafdc3d98182e67fef416ee89c5b

Operating system and Environment details

Ubuntu 22.04 x86_64, running Packer in Docker

Log Fragments and crash.log files

https://gist.github.com/phillip-constantine/8297fafdc3d98182e67fef416ee89c5b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant