Enable WinRM for new VM's

I am using “azurerm_windows_virtual_machine” instead of “azurerm_virtual_machine”. I have seen some examples here for how to enable WinRM on new VM’s.

Can we have some examples on how to do the same with “azurerm_windows_virtual_machine”? Some of the code and blocks mentioned are not compatible with “azurerm_windows_virtual_machine”.

Thanks

1 Like

Hi Philthynz,

I’ve had the same problem, trying to understand how to enable the WinRM. I finally figured it out and wrote an article. See if this helps http://realworldit.net/2017/05/16/winrm-terraform-virtual-machine-azure/

Cheers
Russ