Skip to content

Commit 546bf56

Browse files
authored
Merge pull request #1 from seesharprun/explicit-location
Set location explicitly in Bicep
2 parents 9900c12 + 1f23814 commit 546bf56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infra/mongo.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ resource mongoCluster 'Microsoft.DocumentDB/mongoClusters@2025-04-01-preview' =
5959
resource mongoClusterUserManagedIdentity 'Microsoft.DocumentDB/mongoClusters/users@2025-04-01-preview' = {
6060
parent: mongoCluster
6161
name: managedIdentityPrincipalId
62+
location: location
6263
properties: {
6364
identityProvider: {
6465
type: 'MicrosoftEntraID'
@@ -78,6 +79,7 @@ resource mongoClusterUserManagedIdentity 'Microsoft.DocumentDB/mongoClusters/use
7879
resource mongoClusterUserDeploymentIdentity 'Microsoft.DocumentDB/mongoClusters/users@2025-04-01-preview' = if (!pipeline) {
7980
parent: mongoCluster
8081
name: deploymentIdentityPrincipalId
82+
location: location
8183
properties: {
8284
identityProvider: {
8385
type: 'MicrosoftEntraID'

0 commit comments

Comments
 (0)