Ripon Banik
1 min readMay 19, 2020

--

Hagaluly You need to set the connection type as winrm. Also make sure WinRM is running in the machine and firewall allows connection.

provisioner "file" {
source = "conf/myapp.conf"
destination = "C:/App/myapp.conf"

connection {
type = "winrm"
user = "Administrator"
password = "${var.admin_password}"
host = "${var.host}"
}
}

--

--

Ripon Banik
Ripon Banik

Written by Ripon Banik

A Cloud and DevSecOps Engineer and Consultant, passionate about simplification of technology and make it consumable. https://www.linkedin.com/in/riponbanik/

No responses yet