@@ -240,18 +240,25 @@ variable "custom_role_definitions_terraform" {
240240 " Microsoft.Management/managementGroups/read" ,
241241 " Microsoft.Management/managementGroups/subscriptions/delete" ,
242242 " Microsoft.Management/managementGroups/subscriptions/write" ,
243- " Microsoft.Management/managementGroups/write" ,
244- " Microsoft.Management/managementGroups/subscriptions/read" ,
245243 " Microsoft.Management/managementGroups/settings/read" ,
246244 " Microsoft.Management/managementGroups/settings/write" ,
247245 " Microsoft.Management/managementGroups/settings/delete" ,
246+ " Microsoft.Management/managementGroups/write" ,
247+ " Microsoft.Management/managementGroups/subscriptions/read" ,
248248 " Microsoft.Authorization/policyDefinitions/write" ,
249249 " Microsoft.Authorization/policySetDefinitions/write" ,
250250 " Microsoft.Authorization/policyAssignments/write" ,
251251 " Microsoft.Authorization/roleDefinitions/write" ,
252252 " Microsoft.Authorization/*/read" ,
253+ " Microsoft.Resources/deployments/whatIf/action" ,
253254 " Microsoft.Resources/deployments/write" ,
254- " Microsoft.Resources/deployments/exportTemplate/action" ,
255+ " Microsoft.Resources/deployments/validate/action" ,
256+ " Microsoft.Resources/deployments/read" ,
257+ " Microsoft.Resources/deployments/operationStatuses/read" ,
258+ " Microsoft.Resources/deploymentStacks/read" ,
259+ " Microsoft.Resources/deploymentStacks/write" ,
260+ " Microsoft.Resources/deploymentStacks/delete" ,
261+ " Microsoft.Resources/deploymentStacks/validate/action" ,
255262 " Microsoft.Authorization/roleAssignments/write" ,
256263 " Microsoft.Authorization/roleAssignments/delete" ,
257264 " Microsoft.Insights/diagnosticSettings/write"
@@ -268,8 +275,16 @@ variable "custom_role_definitions_terraform" {
268275 " Microsoft.Management/managementGroups/subscriptions/read" ,
269276 " Microsoft.Management/managementGroups/settings/read" ,
270277 " Microsoft.Authorization/*/read" ,
278+ " Microsoft.Authorization/policyDefinitions/write" ,
279+ " Microsoft.Authorization/policySetDefinitions/write" ,
280+ " Microsoft.Authorization/roleDefinitions/write" ,
281+ " Microsoft.Authorization/policyAssignments/write" ,
282+ " Microsoft.Insights/diagnosticSettings/write" ,
283+ " Microsoft.Insights/diagnosticSettings/read" ,
284+ " Microsoft.Resources/deployments/whatIf/action" ,
271285 " Microsoft.Resources/deployments/write" ,
272- " Microsoft.Resources/deployments/exportTemplate/action"
286+ " Microsoft.Resources/deploymentStacks/read" ,
287+ " Microsoft.Resources/deploymentStacks/validate/action"
273288 ]
274289 not_actions = []
275290 }
@@ -279,9 +294,7 @@ variable "custom_role_definitions_terraform" {
279294 description = " This is a custom role created by the Azure Landing Zones Accelerator for Writing in platform subscriptions."
280295 permissions = {
281296 actions = [
282- " *" ,
283- " Microsoft.Resources/deployments/write" ,
284- " Microsoft.Resources/deployments/exportTemplate/action"
297+ " *"
285298 ]
286299 not_actions = []
287300 }
@@ -292,8 +305,18 @@ variable "custom_role_definitions_terraform" {
292305 permissions = {
293306 actions = [
294307 " */read" ,
308+ " Microsoft.Resources/subscriptions/resourceGroups/write" ,
309+ " Microsoft.ManagedIdentity/userAssignedIdentities/write" ,
310+ " Microsoft.Automation/automationAccounts/write" ,
311+ " Microsoft.OperationalInsights/workspaces/write" ,
312+ " Microsoft.OperationalInsights/workspaces/linkedServices/write" ,
313+ " Microsoft.OperationsManagement/solutions/write" ,
314+ " Microsoft.Insights/dataCollectionRules/write" ,
315+ " Microsoft.Authorization/locks/write" ,
316+ " Microsoft.Network/*/write" ,
317+ " Microsoft.Resources/deployments/whatIf/action" ,
295318 " Microsoft.Resources/deployments/write" ,
296- " Microsoft.Resources/deployments/exportTemplate/action "
319+ " Microsoft.SecurityInsights/onboardingStates/write "
297320 ]
298321 not_actions = []
299322 }
@@ -321,11 +344,11 @@ variable "custom_role_definitions_bicep" {
321344 " Microsoft.Management/managementGroups/read" ,
322345 " Microsoft.Management/managementGroups/subscriptions/delete" ,
323346 " Microsoft.Management/managementGroups/subscriptions/write" ,
324- " Microsoft.Management/managementGroups/write" ,
325- " Microsoft.Management/managementGroups/subscriptions/read" ,
326347 " Microsoft.Management/managementGroups/settings/read" ,
327348 " Microsoft.Management/managementGroups/settings/write" ,
328349 " Microsoft.Management/managementGroups/settings/delete" ,
350+ " Microsoft.Management/managementGroups/write" ,
351+ " Microsoft.Management/managementGroups/subscriptions/read" ,
329352 " Microsoft.Authorization/policyDefinitions/write" ,
330353 " Microsoft.Authorization/policySetDefinitions/write" ,
331354 " Microsoft.Authorization/policyAssignments/write" ,
@@ -336,6 +359,10 @@ variable "custom_role_definitions_bicep" {
336359 " Microsoft.Resources/deployments/validate/action" ,
337360 " Microsoft.Resources/deployments/read" ,
338361 " Microsoft.Resources/deployments/operationStatuses/read" ,
362+ " Microsoft.Resources/deploymentStacks/read" ,
363+ " Microsoft.Resources/deploymentStacks/write" ,
364+ " Microsoft.Resources/deploymentStacks/delete" ,
365+ " Microsoft.Resources/deploymentStacks/validate/action" ,
339366 " Microsoft.Authorization/roleAssignments/write" ,
340367 " Microsoft.Authorization/roleAssignments/delete" ,
341368 " Microsoft.Insights/diagnosticSettings/write"
@@ -359,7 +386,9 @@ variable "custom_role_definitions_bicep" {
359386 " Microsoft.Insights/diagnosticSettings/write" ,
360387 " Microsoft.Insights/diagnosticSettings/read" ,
361388 " Microsoft.Resources/deployments/whatIf/action" ,
362- " Microsoft.Resources/deployments/write"
389+ " Microsoft.Resources/deployments/write" ,
390+ " Microsoft.Resources/deploymentStacks/read" ,
391+ " Microsoft.Resources/deploymentStacks/validate/action"
363392 ]
364393 not_actions = []
365394 }
@@ -369,9 +398,7 @@ variable "custom_role_definitions_bicep" {
369398 description = " This is a custom role created by the Azure Landing Zones Accelerator for Writing in platform subscriptions."
370399 permissions = {
371400 actions = [
372- " *" ,
373- " Microsoft.Resources/deployments/whatIf/action" ,
374- " Microsoft.Resources/deployments/write"
401+ " *"
375402 ]
376403 not_actions = []
377404 }
@@ -393,6 +420,7 @@ variable "custom_role_definitions_bicep" {
393420 " Microsoft.Network/*/write" ,
394421 " Microsoft.Resources/deployments/whatIf/action" ,
395422 " Microsoft.Resources/deployments/write" ,
423+ " Microsoft.Resources/deploymentStacks/read" ,
396424 " Microsoft.SecurityInsights/onboardingStates/write"
397425 ]
398426 not_actions = []
0 commit comments