Have the need to push a local .ps1 file to the remote windows (Azure Windows) machine and execute the same.
Have used the Provisioner “remote-exec” with script and specified the connections.
The remote exec just keeps on repeating itself . Even though the VM is provisioned but the powershell command is not executed and after several minutes the “terraform .tf file” throws an error that it is timed out. i have added timeout as 5m.