Skip to content

Commit

Permalink
Update resources.role_assignments.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-taylor committed Mar 12, 2024
1 parent 6a6b384 commit a65600a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources.role_assignments.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module "role_assignments_for_policy" {
data "azapi_resource" "user_msi" {
for_each = {
for ik, iv in local.es_role_assignments_by_policy_assignment : ik => iv
if try(azurerm_management_group_policy_assignment.enterprise_scale[ik].identity[0].type, null) == "UserAssigned"
if try(local.azurerm_management_group_policy_assignment_enterprise_scale[ik].template.identity.type, null) == "UserAssigned"
}

resource_id = one(azurerm_management_group_policy_assignment.enterprise_scale[each.key].identity[0].identity_ids)
Expand Down

0 comments on commit a65600a

Please sign in to comment.