Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 6a242fa

Browse files
authored
Merge pull request #3420 from microsoft/darrenj/usecosmosdbfix
Fix to ARM Template to respect useComosDb on database
2 parents 61102b8 + 706c790 commit 6a242fa

File tree

2 files changed

+4
-2
lines changed
  • samples/csharp
    • assistants/virtual-assistant/VirtualAssistantSample/Deployment/Resources
    • skill/SkillSample/Deployment/Resources

2 files changed

+4
-2
lines changed

samples/csharp/assistants/virtual-assistant/VirtualAssistantSample/Deployment/Resources/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@
216216
"options": {
217217
"throughput": "[parameters('cosmosDbDatabaseThroughput')]"
218218
}
219-
}
219+
},
220+
"condition": "[parameters('useCosmosDb')]"
220221
},
221222
{
222223
"comments": "storage account",

samples/csharp/skill/SkillSample/Deployment/Resources/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@
166166
"options": {
167167
"throughput": "[parameters('cosmosDbDatabaseThroughput')]"
168168
}
169-
}
169+
},
170+
"condition": "[parameters('useCosmosDb')]"
170171
},
171172
{
172173
"comments": "storage account",

0 commit comments

Comments
 (0)