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”.
Hi, we used a solution like the one you indicate to create an azure VM with winrm enabled. We are having issues when the certificate renews: terraform wants to destroy and rebuild the VM. Have you come across this issue? How did you solve it? Thanks.