Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkurtz-MSFT committed Jan 7, 2025
1 parent 1e61e07 commit 186030a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bicep/modules/container-apps/webapi-backend-service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ param serviceBusTopicName string

// Cosmos DB
@description('The name of the provisioned Cosmos DB resource.')
param cosmosDbName string
param cosmosDbName string

@description('The name of the provisioned Cosmos DB\'s database.')
param cosmosDbDatabaseName string
Expand Down Expand Up @@ -142,7 +142,7 @@ resource backendApiService 'Microsoft.App/containerApps@2022-06-01-preview' = {
}

// Assign cosmosdb account read/write access to aca system assigned identity
// To know more: https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac
// To know more: https://learn.microsoft.com/azure/cosmos-db/how-to-setup-rbac
resource backendApiService_cosmosdb_role_assignment 'Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments@2022-08-15' = {
name: guid(subscription().id, backendApiService.name, '00000000-0000-0000-0000-000000000002')
parent: cosmosDbAccount
Expand Down

0 comments on commit 186030a

Please sign in to comment.