Packer v1.6.6
I have the following Packer template, which creates an AMI for Jenkins. As you can see, it has SSH_PRIVATE_KEY variable.
SSH_PRIVATE_KEY
{