Skip to content

Commit

Permalink
Fix typo in Azure AD group members
Browse files Browse the repository at this point in the history
  • Loading branch information
adamrushuk committed Mar 17, 2024
1 parent 263cca2 commit c8be1be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform-vf/local_market_1.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "azuread_group" "lm1_users" {
owners = [data.azuread_client_config.current.object_id]
prevent_duplicate_names = true
security_enabled = true
members = data.azuread_users.lm1_users.object_ids
members = data.azuread_user.lm1_users.object_ids
}

resource "azuread_group" "lm1_admins" {
Expand All @@ -22,7 +22,7 @@ resource "azuread_group" "lm1_admins" {
prevent_duplicate_names = true
security_enabled = true
assignable_to_role = true
members = data.azuread_users.lm1_admins.object_ids
members = data.azuread_user.lm1_admins.object_ids
}

resource "azuread_administrative_unit" "lm1" {
Expand All @@ -32,7 +32,7 @@ resource "azuread_administrative_unit" "lm1" {
}

resource "azuread_administrative_unit_member" "lm1_users" {
for_each = toset(data.azuread_users.lm1_users.object_ids)
for_each = toset(data.azuread_user.lm1_users.object_ids)
administrative_unit_object_id = azuread_administrative_unit.lm1.id
member_object_id = each.value
}
Expand Down

0 comments on commit c8be1be

Please sign in to comment.