Skip to content

Commit 5e201c5

Browse files
Merge pull request microsoft#457 from microsoft/psl-fixcosmosissuev3
fix: Restrict Supported Azure Regions and Add Configurable Zone Redundancy for Cosmos DB
2 parents 420d7f7 + d4d9e08 commit 5e201c5

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
@@ -1342,6 +1340,7 @@ module cosmosDb 'br/public:avm/res/document-db/database-account:0.15.0' = {
13421340
{
13431341
locationName: location
13441342
failoverPriority: 0
1343+
isZoneRedundant: enableRedundancy
13451344
}
13461345
]
13471346
}

0 commit comments

Comments
 (0)