Skip to content

Commit 003694b

Browse files
authored
Restrict locations due to appinsights availability (#2764)
1 parent efe3c77 commit 003694b

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

infra/main.bicep

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,66 @@ param environmentName string
77

88
@minLength(1)
99
@description('Primary location for all resources')
10+
// microsoft.insights/components has restricted regions
11+
@allowed([
12+
'eastus'
13+
'southcentralus'
14+
'northeurope'
15+
'westeurope'
16+
'southeastasia'
17+
'westus2'
18+
'uksouth'
19+
'canadacentral'
20+
'centralindia'
21+
'japaneast'
22+
'australiaeast'
23+
'koreacentral'
24+
'francecentral'
25+
'centralus'
26+
'eastus2'
27+
'eastasia'
28+
'westus'
29+
'southafricanorth'
30+
'northcentralus'
31+
'brazilsouth'
32+
'switzerlandnorth'
33+
'norwayeast'
34+
'norwaywest'
35+
'australiasoutheast'
36+
'australiacentral2'
37+
'germanywestcentral'
38+
'switzerlandwest'
39+
'uaecentral'
40+
'ukwest'
41+
'japanwest'
42+
'brazilsoutheast'
43+
'uaenorth'
44+
'australiacentral'
45+
'southindia'
46+
'westus3'
47+
'koreasouth'
48+
'swedencentral'
49+
'canadaeast'
50+
'jioindiacentral'
51+
'jioindiawest'
52+
'qatarcentral'
53+
'southafricawest'
54+
'germanynorth'
55+
'polandcentral'
56+
'israelcentral'
57+
'italynorth'
58+
'mexicocentral'
59+
'spaincentral'
60+
'newzealandnorth'
61+
'chilecentral'
62+
'indonesiacentral'
63+
'malaysiawest'
64+
])
65+
@metadata({
66+
azd: {
67+
type: 'location'
68+
}
69+
})
1070
param location string
1171

1272
param appServicePlanName string = '' // Set in main.parameters.json

0 commit comments

Comments
 (0)