Hi there,
I'm new to packer and I facing this issue. Basically, my workflow is to upload a bash script within the EC2 made by packer to install the stack I need to run my application. Now, sometimes something happens and the script fails to exit with an error code not equal 0, but packer still creating the AMI. How can I modify this behavior letting packer stops to build the AMI? I need this because of my CI/CD pipeline. Moreover, I added the `set -e` into my bash script.
Thanks in advance.