Skip to content

Commit

Permalink
Fix minor issues, tag + azuread_group_membership
Browse files Browse the repository at this point in the history
  • Loading branch information
Hein Tonny Køien committed Aug 13, 2023
1 parent cb07391 commit 5e8a05a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azuread_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module "azuread_groups_membership" {
for_each = local.azuread.azuread_groups_membership

client_config = local.client_config
group_key = each.key
group_key = try(each.value.key, each.key) # Make it possible to have orphen name of top level keys, useful when you have group keys with same name in different LZs
settings = each.value
group_id = local.combined_objects_azuread_groups[try(each.value.group_lz_key, local.client_config.landingzone_key)][each.key].id
azuread_groups = local.combined_objects_azuread_groups
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ locals {
tags = var.inherit_tags ? merge(
var.global_settings.tags,
var.tags
) : null
) : {}
}

0 comments on commit 5e8a05a

Please sign in to comment.