Can we run shell-local provisioner when packer tries to establish WinRM connectivity . Or is there any other method to achieve this. This is in order to make AWS EC2 windows instance connect privately with WinRM using AWS SSM .
Also like SourceAMI , does packer use any variable to store instance id as part of packer build