Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions arm/Microsoft.RecoveryServices/vaults/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ resource rsv 'Microsoft.RecoveryServices/vaults@2021-08-01' = {
}

module rsv_backupStorageConfiguration 'backupStorageConfig/deploy.bicep' = {
name: '${uniqueString(deployment().name, location)}-BackupStorageConfig'
name: '${uniqueString(deployment().name, location)}-RSV-BackupStorageConfig'
params: {
recoveryVaultName: rsv.name
storageModelType: backupStorageConfig.storageModelType
Expand All @@ -150,7 +150,7 @@ module rsv_backupStorageConfiguration 'backupStorageConfig/deploy.bicep' = {
}

module rsv_protectionContainers 'protectionContainers/deploy.bicep' = [for (protectionContainer, index) in protectionContainers: {
name: '${uniqueString(deployment().name, location)}-ProtectionContainers-${index}'
name: '${uniqueString(deployment().name, location)}-RSV-ProtectionContainers-${index}'
params: {
recoveryVaultName: rsv.name
name: protectionContainer.name
Expand All @@ -162,7 +162,7 @@ module rsv_protectionContainers 'protectionContainers/deploy.bicep' = [for (prot
}]

module rsv_backupPolicies 'backupPolicies/deploy.bicep' = [for (backupPolicy, index) in backupPolicies: {
name: '${uniqueString(deployment().name, location)}-BackupPolicy-${index}'
name: '${uniqueString(deployment().name, location)}-RSV-BackupPolicy-${index}'
params: {
recoveryVaultName: rsv.name
name: backupPolicy.name
Expand Down Expand Up @@ -193,7 +193,7 @@ resource rsv_diagnosticSettings 'Microsoft.Insights/diagnosticSettings@2021-05-0
}

module rsv_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in roleAssignments: {
name: '${deployment().name}-rbac-${index}'
name: '${uniqueString(deployment().name, location)}-RSV-Rbac-${index}'
params: {
principalIds: roleAssignment.principalIds
roleDefinitionIdOrName: roleAssignment.roleDefinitionIdOrName
Expand Down