Help with Packer windows custom AWS AMI

Hi,

I am looking for a way to create a packer job to maintain my windows custom AWS AMI’s but i cant seem to find any examples of the same. Most of the examples i find use Windows base AMI’s from Marketplace but none with custom.

The problem i face is, the instance generated from custom AMI has an associated password already decrypted using access key and secret. Now i need to pass the password to the instance “winrm_password” which doesn’t seen to work.