Update allowed_inbound_ip_addresses default condition (#5602)

This commit is contained in:
Aleksandr Chebotov
2022-05-24 18:40:15 +02:00
committed by GitHub
parent c3fb682f73
commit 12cbf387ca

View File

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