'Handshake failed while creating Windows AMI using packer with ssh communicator

I am trying to create windows AMI using base image as AMAZON windows AMI and using packer for the same. I am using ssh communicator and ssh_interface as SSM_manager. but somehow getting handshake issue.

My template file snippet:

enter image description here

the logs:

enter image description here

what to check now, or if i am mistaken somewhere?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source