Skip to content

Commit

Permalink
Fixing zone logic for public IPs to handle the strings
Browse files Browse the repository at this point in the history
  • Loading branch information
brsteph committed Jun 28, 2024
1 parent 5e158d7 commit b0eaa9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslzArm/subscriptionTemplates/hubspoke-connectivity.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
"type": "Microsoft.Network/publicIpAddresses",
"location": "[parameters('location')]",
"name": "[variables('azVpnGwIpName')]",
"zones": "[if(equals(parameters('gwRegionalOrAz'), 'Zone'), '1,2,3', null)]",
"zones": "[if(equals(parameters(\"gwRegionalOrAz\"), \"Zone\"), \"1,2,3\", json('null'))]",
"sku": {
"name": "Standard"
},
Expand All @@ -316,7 +316,7 @@
"type": "Microsoft.Network/publicIpAddresses",
"location": "[parameters('location')]",
"name": "[variables('azVpnGwAAIpName')]",
"zones": "[if(equals(parameters('gwRegionalOrAz'), 'Zone'), '1,2,3', null)]",
"zones": "[if(equals(parameters(\"gwRegionalOrAz\"), \"Zone\"), \"1,2,3\", json('null'))]",
"sku": {
"name": "Standard"
},
Expand Down

0 comments on commit b0eaa9e

Please sign in to comment.