diff --git a/templates/platform_landing_zone/modules/management_groups/locals.tf b/templates/platform_landing_zone/modules/management_groups/locals.tf index b3c3b74..3e4233a 100644 --- a/templates/platform_landing_zone/modules/management_groups/locals.tf +++ b/templates/platform_landing_zone/modules/management_groups/locals.tf @@ -15,7 +15,7 @@ locals { } } default_retries = { management_groups = { - error_message_regex = ["AuthorizationFailed"] + error_message_regex = ["AuthorizationFailed", "Permission to Microsoft.Management/managementGroups on resources of type 'Write' is required on the management group or its ancestors."] } role_definitions = { error_message_regex = ["AuthorizationFailed"]