Skip to content

Commit b94068c

Browse files
Merge pull request #459 from microsoft/psl-fix-cosmosisse
fix: Restrict Supported Azure Regions and Add Configurable Zone Redundancy for Cosmos DB
2 parents 952ac52 + 0a2a711 commit b94068c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

infra/main.bicep

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ param solutionUniqueText string = take(uniqueString(subscription().id, resourceG
2222
'australiaeast'
2323
'centralus'
2424
'eastasia'
25-
'eastus'
2625
'eastus2'
2726
'japaneast'
2827
'northeurope'
2928
'southeastasia'
30-
'westeurope'
3129
'uksouth'
3230
])
3331
param location string
@@ -1251,6 +1249,7 @@ module cosmosDb 'br/public:avm/res/document-db/database-account:0.15.0' = {
12511249
{
12521250
locationName: location
12531251
failoverPriority: 0
1252+
isZoneRedundant: enableRedundancy
12541253
}
12551254
]
12561255
}

0 commit comments

Comments
 (0)