Update allowed_inbound_ip_addresses default condition (#5602)

This commit is contained in:
Aleksandr Chebotov
2022-05-24 19:40:15 +03:00
committed by GitHub
parent c3fb682f73
commit 12cbf387ca
+5 -1
View File
@@ -266,7 +266,11 @@ Function GenerateResourcesAndImage {
}
if ($builderScriptPath.Contains("pkr.hcl")) {
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
if ($AgentIp) {
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
} else {
$AgentIp = "[]"
}
}
if ($Tags) {