Packer build fails with AMIName but unsure how to troubleshoot

You can use the packer console command https://www.packer.io/docs/commands/console to test out your interpolation