You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/copilot_cheat_sheet.md
+44-4Lines changed: 44 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,60 @@ This cheat sheet provides a quick reference for workshop proctors on the differe
6
6
7
7
---
8
8
9
+
## General Command Failures
10
+
11
+
-[] Ensure the user is in PowerShell 7 in the Windows Terminal
12
+
-[] Ensure the user is in the correct folder ($env:USERPROFILE/aks-store-demo)
13
+
9
14
## AZD Deployment Failure
10
15
11
16
The `azd` deployment can potentially fail if the availability zones in the region where the resources are being deployed change availability.
12
17
13
-
There are currently overrides for the few restrictions that have been found during the course development, but if a user has a problem, they can add an override using the availability zones mentioned in the error response.
POST https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourcegroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Resources/deployments/aitour-1761061937/validate
"message": "The template deployment 'aitour-1761061937' is not valid according to the validation procedure. The tracking id is '421aa3c7-aae7-4257-8a36-a6db46f5fd0d'. See inner errors for details.",
35
+
"details": [
36
+
{
37
+
"code": "AvailabilityZoneNotSupported",
38
+
"message": "Preflight validation check for resource(s) for container service aks-aitourrkdg in resource group <RESOURCE_GROUP_NAME> failed. Message: The zone(s) '1' for resource 'system' is not supported. The supported zones for location 'eastus2' are '3,2'. Details: "
There are currently overrides for the few restrictions that have been found during the course development, but if a user has a problem, they can add an override using the availability zones mentioned in the error response.
47
+
48
+
```powershell
16
49
$Overrides = @{
17
50
"eastus2" = @{"zones" = ("2", "3")}
18
51
"westus2" = @{"zones" = @("3")}
19
52
"eastus" = @{"zones" = ("2", "1")}
20
-
# Add the problem region here, with the valid zones mentioned in the error.
53
+
# Replace REGION with the problem region in the sample below, adjusting to the the valid zones mentioned in the error message.
54
+
# then, uncomment and paste this section into the terminal
55
+
# "REGION" = @{"zones" = ("3", "2", "1")}
21
56
}
57
+
```
58
+
59
+
Then, replace REGION with your region in the snippet below and run the below commands.
0 commit comments