Skip to content

Commit

Permalink
Fix Azure ARM Template: missing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Jul 22, 2024
1 parent 7ddf335 commit e1305ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/azure/ARM-for-single-account.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"apiVersion": "2022-09-01",
"name": "[variables('roleAssignmentDeployment')]",
"subscriptionId": "[subscription().subscriptionId]",
"resourceGroup": "[resourceGroup().name]",
"location": "[parameters('ResourceGroupLocation')]",
"properties": {
"expressionEvaluationOptions": {
"scope": "inner"
Expand Down Expand Up @@ -78,7 +78,7 @@
"name": "[guid(subscription().id, parameters('ResourceGroupName'), deployment().name, 'securityaudit')]",
"properties": {
"roleDefinitionId": "/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7",
"principalId": "[reference(resourceId('Microsoft.Compute/virtualMachines', 'cloudbeatVM'), '2023-09-01', 'Full').identity.principalId]",
"principalId": "[reference(resourceId(subscription().subscriptionId, parameters('ResourceGroupName'), 'Microsoft.Compute/virtualMachines', 'cloudbeatVM'), '2023-09-01', 'Full').identity.principalId]",
"principalType": "ServicePrincipal"
}
},
Expand All @@ -88,7 +88,7 @@
"name": "[guid(subscription().id, parameters('ResourceGroupName'), deployment().name, 'additional-role')]",
"properties": {
"roleDefinitionId": "[concat('/providers/Microsoft.Authorization/roleDefinitions/', parameters('AdditionalRoleGUID'))]",
"principalId": "[reference(resourceId('Microsoft.Compute/virtualMachines', 'cloudbeatVM'), '2023-09-01', 'Full').identity.principalId]",
"principalId": "[reference(resourceId(subscription().subscriptionId, parameters('ResourceGroupName'), 'Microsoft.Compute/virtualMachines', 'cloudbeatVM'), '2023-09-01', 'Full').identity.principalId]",
"principalType": "ServicePrincipal"
}
}
Expand Down

0 comments on commit e1305ef

Please sign in to comment.