Obsolete step
Closed this issue · 1 comments
shvamath commented
Module: 01
Lab/Demo: 04
Task: 04
Step: 02
No longer required step and commands in it fail.
RG_AKS=AZ500LAB09
RG_VNET=MC_AZ500LAB09_MyKubernetesCluster_eastus
AKS_VNET_NAME=aks-vnet-30198516
AKS_CLUSTER_NAME=MyKubernetesCluster
AKS_VNET_ID=$(az network vnet show --name $AKS_VNET_NAME --resource-group $RG_VNET --query id -o tsv)
AKS_MANAGED_ID=$(az aks show --name $AKS_CLUSTER_NAME --resource-group $RG_AKS --query identity.principalId -o tsv)
az role assignment create --assignee $AKS_MANAGED_ID --role "Contributor" --scope $AKS_VNET_ID
The VNet is in same RG as cluster
serling1962 commented
The step was successful when tested as written.