Skip to content

Commit 082f812

Browse files
author
Jumpei Yamashita
authored
Remove undefined variable
$SUBID is not defined in this steps. So, we get following error when we run the commands as is. ---- $ az network route-table route create -g $RG --name $FWROUTE_NAME --route-table-name $FWROUTE_TABLE_NAME --address-prefix 0.0.0.0/0 --next-hop-type VirtualAppliance --next-hop-ip-address $FWPRIVATE_IP --subscription $SUBID argument --subscription: expected one argument ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----
1 parent f13a33a commit 082f812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/limit-egress-traffic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ Create an empty route table to be associated with a given subnet. The route tabl
378378
# Create UDR and add a route for Azure Firewall
379379
380380
az network route-table create -g $RG -l $LOC --name $FWROUTE_TABLE_NAME
381-
az network route-table route create -g $RG --name $FWROUTE_NAME --route-table-name $FWROUTE_TABLE_NAME --address-prefix 0.0.0.0/0 --next-hop-type VirtualAppliance --next-hop-ip-address $FWPRIVATE_IP --subscription $SUBID
381+
az network route-table route create -g $RG --name $FWROUTE_NAME --route-table-name $FWROUTE_TABLE_NAME --address-prefix 0.0.0.0/0 --next-hop-type VirtualAppliance --next-hop-ip-address $FWPRIVATE_IP
382382
az network route-table route create -g $RG --name $FWROUTE_NAME_INTERNET --route-table-name $FWROUTE_TABLE_NAME --address-prefix $FWPUBLIC_IP/32 --next-hop-type Internet
383383
```
384384

0 commit comments

Comments
 (0)