If you receive this error, it's because, as of v0.0.3, we now use the Gruntwork bash-commons repo for most of the generic bash functions. One of the scripts attempted to source a file (in this case /opt/gruntwork/bash-commons/assert.sh), but because the bash-commons were not installed, it didn't exist.
To fix this issue, add the following provisioner to your Packer template above any of the install-xxx scripts:
If you receive this error, it's because, as of v0.0.3, we now use the Gruntwork bash-commons repo for most of the generic bash functions. One of the scripts attempted to
source
a file (in this case/opt/gruntwork/bash-commons/assert.sh
), but because the bash-commons were not installed, it didn't exist.To fix this issue, add the following provisioner to your Packer template above any of the
install-xxx
scripts:Check out the full Packer template example for additional details.