Skip to content

Commit 258f23e

Browse files
Modify cosmos role assignment resource name
1 parent 2f9e3d0 commit 258f23e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

scenarios/Agents/setup/network-secured-agent-thread-storage/azuredeploy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "9155466085938045893"
8+
"templateHash": "9204291102583499292"
99
}
1010
},
1111
"parameters": {
@@ -2562,7 +2562,7 @@
25622562
{
25632563
"type": "Microsoft.Resources/deployments",
25642564
"apiVersion": "2022-09-01",
2565-
"name": "[format('{0}-{1}-deployment', toLower(format('{0}', parameters('defaultAiProjectName'))), parameters('uniqueSuffix'))]",
2565+
"name": "[format('cosmos-ra-{0}-{1}-deployment', toLower(format('{0}', parameters('defaultAiProjectName'))), parameters('uniqueSuffix'))]",
25662566
"subscriptionId": "[variables('cosmosDBSubscriptionId')]",
25672567
"resourceGroup": "[variables('cosmosDBResourceGroupName')]",
25682568
"properties": {

scenarios/Agents/setup/network-secured-agent-thread-storage/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ module addCapabilityHost 'modules-network-secured/network-capability-host.bicep'
375375
}
376376

377377
module cosmosContainerRoleAssignments 'modules-network-secured/database/cosmos-container-role-assignment.bicep' = {
378-
name: '${toLower('${defaultAiProjectName}')}-${uniqueSuffix}-deployment'
378+
name: 'cosmos-ra-${toLower('${defaultAiProjectName}')}-${uniqueSuffix}-deployment'
379379
scope: resourceGroup(cosmosDBSubscriptionId, cosmosDBResourceGroupName)
380380
params: {
381381
cosmosAccountName: aiDependencies.outputs.cosmosDBName

scenarios/Agents/setup/standard-agent-with-threadstorage/azuredeploy.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.33.93.31351",
8-
"templateHash": "3586167999213672571"
8+
"templateHash": "11260517981500011816"
99
}
1010
},
1111
"parameters": {
@@ -1594,7 +1594,7 @@
15941594
{
15951595
"type": "Microsoft.Resources/deployments",
15961596
"apiVersion": "2022-09-01",
1597-
"name": "[format('{0}-{1}-deployment', toLower(format('{0}', variables('projectName'))), variables('uniqueSuffix'))]",
1597+
"name": "[format('cosmos-ra-{0}-{1}-deployment', toLower(format('{0}', variables('projectName'))), variables('uniqueSuffix'))]",
15981598
"subscriptionId": "[variables('cosmosDBSubscriptionId')]",
15991599
"resourceGroup": "[variables('cosmosDBResourceGroupName')]",
16001600
"properties": {

scenarios/Agents/setup/standard-agent-with-threadstorage/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ module addCapabilityHost 'modules-standard/add-capability-host.bicep' = {
242242

243243

244244
module cosmosContainerRoleAssignments 'modules-standard/cosmos-container-role-assignment.bicep' = {
245-
name: '${toLower('${projectName}')}-${uniqueSuffix}-deployment'
245+
name: 'cosmos-ra-${toLower('${projectName}')}-${uniqueSuffix}-deployment'
246246
scope: resourceGroup(cosmosDBSubscriptionId, cosmosDBResourceGroupName)
247247
params: {
248248
cosmosAccountName: aiDependencies.outputs.cosmosDBName

0 commit comments

Comments
 (0)