Skip to content

Commit e62acf2

Browse files
Merge pull request #432 from microsoft/psl-sw/fix-cosmos-analytical-storage
fix(infra): remove enableAnalyticalStorage on Cosmos DB account creation
2 parents 81f2af6 + 65f4d0a commit e62acf2

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

infra/main.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"_generator": {
77
"name": "bicep",
88
"version": "0.42.1.51946",
9-
"templateHash": "501598761594202073"
9+
"templateHash": "1333265003476738511"
1010
},
1111
"name": "Modernize Your Code Solution Accelerator",
1212
"description": "CSA CTO Gold Standard Solution Accelerator for Modernize Your Code. \r\n"
@@ -13101,11 +13101,11 @@
1310113101
},
1310213102
"dependsOn": [
1310313103
"applicationInsights",
13104+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
1310413105
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').agentSvc)]",
1310513106
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').oms)]",
1310613107
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').monitor)]",
1310713108
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
13108-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').ods)]",
1310913109
"dataCollectionEndpoint",
1311013110
"logAnalyticsWorkspace",
1311113111
"virtualNetwork"
@@ -32017,9 +32017,9 @@
3201732017
},
3201832018
"dependsOn": [
3201932019
"aiServices",
32020+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3202032021
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
3202132022
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
32022-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
3202332023
"virtualNetwork"
3202432024
]
3202532025
},
@@ -40530,7 +40530,7 @@
4053040530
"_generator": {
4053140531
"name": "bicep",
4053240532
"version": "0.42.1.51946",
40533-
"templateHash": "14534421541012182178"
40533+
"templateHash": "9745767047675020484"
4053440534
}
4053540535
},
4053640536
"definitions": {
@@ -40738,9 +40738,6 @@
4073840738
"name": {
4073940739
"value": "[parameters('name')]"
4074040740
},
40741-
"enableAnalyticalStorage": {
40742-
"value": true
40743-
},
4074440741
"location": {
4074540742
"value": "[parameters('location')]"
4074640743
},

infra/modules/cosmosDb.bicep

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module cosmosAccount 'br/public:avm/res/document-db/database-account:0.19.0' = {
4747
name: take('avm.res.document-db.database-account.${name}', 64)
4848
params: {
4949
name: name
50-
enableAnalyticalStorage: true
5150
location: location
5251
minimumTlsVersion: 'Tls12'
5352
defaultConsistencyLevel: 'Session'

0 commit comments

Comments
 (0)