Skip to content

Commit

Permalink
Azure HA template | Updated IP Prefix length according VIPs number
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-yairra authored Aug 22, 2023
1 parent 18240a8 commit 62eb9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/templates/marketplace-ha/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@
"name": "[variables('ipPrefixNewName')]",
"location": "[variables('location')]",
"properties": {
"prefixLength": "30",
"prefixLength": "[if(greater(variables('VIPs_Number'), 5), '28', if(greater(variables('VIPs_Number'), 1), '29', '30'))]",
"publicIPAddressVersion": "IPv4"
},
"sku": {
Expand Down

0 comments on commit 62eb9b5

Please sign in to comment.