Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #29187 - using winrm on EC2 #29205
Ensures that use_winrm: True is respected when bootstrapping with salt-cloud on EC2. Adds the option to specify winrm port to use with 'winrm_port' option in cloud configuration. This is optional and defaults to WinRM 2.0 HTTP port tcp/5986. Only HTTPS (as before) is supported.
There is also a documentation update with a working example using default EC2 Windows images. The existing examples don't account for opening WinRM on the Windows firewall or ensuring auth type is basic.
Additionally the example uses the following Technet 'trick':
This allows you to enable HTTPS as previously there was no store available on EC2 Windows images resulting in an error to enable HTTPS. This borrows from RDP.