Hello,

I've been running successfully packer and terraform with WinRM on AWS with 
this script
https://gitlab.com/sbarthelemy/conan-public-recipes/blob/master/ci/packer/scripts/ec2-winrm.ps1

An important part was to undo the setup at the end in a tear-down step. 
(I'm not sure it applies to you, maybe it matters when certificates are 
used).
You can see the template here
https://gitlab.com/sbarthelemy/conan-public-recipes/blob/master/ci/packer/gitlabrunner-mini-win2016.json

This other script was also useful when debugging:
https://gitlab.com/sbarthelemy/conan-public-recipes/blob/master/ci/packer/scripts/debug-winrm.ps1

Hope it helps!

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/735b811d-4307-4b6d-b8c5-7475b077345f%40googlegroups.com.

Reply via email to