diff --git a/templates/windows.pkr.hcl b/templates/windows.pkr.hcl index 2e8cf86..e03befe 100644 --- a/templates/windows.pkr.hcl +++ b/templates/windows.pkr.hcl @@ -94,8 +94,7 @@ build { ] } - provisioner "shell" { - remote_folder = "/opt/ami-setup" + provisioner "powershell" { inline = {{inline|tojson}} }