Currently I am trying to deploy an ActiveGate and run Synthetics in a private location, but the powershell command does not seem to work.
provisioner "powershell" {<br> inline <span>= </span>[<br> <span>"Write-Output 'Installing Dynatrace ActiveGate into </span><span>${</span>var<span>.</span>synthetic_location_id<span>}</span><span> location and </span><span>${</span>var<span>.</span>dynatrace_group<span>}</span><span> group...'"</span>,<br> <span>"if (Test-Path 'C:/DeployTemp/Dynatrace-ActiveGate-Windows-x86-1.307.29.exe') {"</span>,<br> <span>" Start-Process -FilePath 'C:/DeployTemp/Dynatrace-ActiveGate-Windows-x86-1.307.29.exe' -Wait -ArgumentList 'ENABLE_SYNTHETIC=true --set-property=dt.synthetic.private_location_id==</span><span>${</span>var<span>.</span>synthetic_location_id<span>}</span><span> --set-group=</span><span>${</span>var<span>.</span>dynatrace_group<span>}</span><span>'"</span>,<br> <span>"} else {"</span>,<br> <span>" Write-Output 'Dynatrace ActiveGate installer not found.'"</span>,<br> <span>" exit 1"</span>,<br> <span>"}"<br></span> ]<br>}