Skip to content

Commit 45d4913

Browse files
Update chaos-studio-tutorial-aks-cli.md
Updated CLI to fix bug with role assignment example
1 parent ba80035 commit 45d4913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/chaos-studio/chaos-studio-tutorial-aks-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ az rest --method get --uri https://management.azure.com/subscriptions/$SUBSCRIPT
214214

215215

216216
```azurecli-interactive
217-
az role assignment create --role "Azure Kubernetes Service Cluster Admin Role" --assignee-object-id $EXPERIMENT_PRINCIPAL_ID --scope subscriptions/$SUBSCRIPTION_ID/resourceGroups/$resourceGroupName/providers/Microsoft.ContainerService/managedClusters/$AKS_CLUSTER_NAME
217+
az role assignment create --role "Azure Kubernetes Service Cluster Admin Role" --assignee-object-id $EXPERIMENT_PRINCIPAL_ID --assignee-principal-type "ServicePrincipal" --scope subscriptions/$SUBSCRIPTION_ID/resourceGroups/$resourceGroupName/providers/Microsoft.ContainerService/managedClusters/$AKS_CLUSTER_NAME
218218
```
219219

220220
## Run your experiment

0 commit comments

Comments
 (0)