diff --git a/modules/azure/application_service_principal_role_assignment/main.tf b/modules/azure/application_service_principal_role_assignment/main.tf index cb5f9c7..47bbd5a 100644 --- a/modules/azure/application_service_principal_role_assignment/main.tf +++ b/modules/azure/application_service_principal_role_assignment/main.tf @@ -14,9 +14,9 @@ terraform { provider "azuread" {} resource "azuread_service_principal" "internal" { - for_each = toset([for assignment in var.assignments : assignment.client_id]) - client_id = each.key - use_existing = var.use_existing_service_principal + for_each = toset([for assignment in var.assignments : assignment.client_id]) + client_id = each.key + use_existing = var.use_existing_service_principal } resource "azuread_app_role_assignment" "role_assignment" {