Fix ip address whiltelist value for hcl2 templates (#7409)

This commit is contained in:
Vasilii Polikarpov
2023-04-10 14:14:48 +02:00
committed by GitHub
parent 833ffa3aab
commit 5777d37af1

View File

@@ -264,7 +264,7 @@ Function GenerateResourcesAndImage {
if ($builderScriptPath.Contains("pkr.hcl")) {
if ($AgentIp) {
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
$AgentIp = '[ "{0}" ]' -f $AgentIp
} else {
$AgentIp = "[]"
}