Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
json update
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseloudon committed Mar 19, 2021
1 parent ecb8adb commit a33f02e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions deployifnotexists-policy-with-initiative-and-assignment/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
"location": "global",
"properties": {
"description": "[parameters('metricAlertDescription')]",
"severity": "[parameters('metricAlertResourceNamespace')]",
"severity": "[parameters('metricAlertSeverity')]",
"enabled": "[parameters('metricAlertEnabled')]",
"scopes": [
"[[parameters('resourceId')]"
Expand Down Expand Up @@ -623,6 +623,18 @@
}
]
}
},
{
"type": "Microsoft.Authorization/roleAssignments",
"apiVersion": "2020-04-01-preview",
"name": "[guid('bicepExampleAssignment', 'Microsoft.Authorization/policyAssignments', subscription().subscriptionId)]",
"properties": {
"principalId": "[reference(subscriptionResourceId('Microsoft.Authorization/policyAssignments', 'bicepExampleAssignment'), '2020-09-01', 'full').identity.principalId]",
"roleDefinitionId": "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c"
},
"dependsOn": [
"[subscriptionResourceId('Microsoft.Authorization/policyAssignments', 'bicepExampleAssignment')]"
]
}
]
}
Expand All @@ -636,7 +648,7 @@
"_generator": {
"name": "bicep",
"version": "0.3.1.62928",
"templateHash": "14501545516933283152"
"templateHash": "12435763967781024112"
}
}
}

0 comments on commit a33f02e

Please sign in to comment.