Skip to content

Commit

Permalink
Set default OU to Workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
jchrisfarris committed Nov 7, 2023
1 parent 1f8b098 commit c35332e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ module "accounts" {

account_name = each.value["account_name"]
account_email = each.value["account_email"]
parent_ou_id = local.ou_name_to_id[each.value["parent_ou_name"]]
parent_ou_id = local.ou_name_to_id[lookup(each.value, "parent_ou_name", "Workloads")]
admin_permission_set_arn = var.disable_sso_management ? null : aws_ssoadmin_permission_set.admin_permission_set[0].arn
admin_group_id = var.disable_sso_management ? null : aws_identitystore_group.admin_group[0].group_id
billing_contact = var.global_billing_contact
security_contact = var.global_security_contact
operations_contact = var.global_operations_contact
disable_sso_management = var.disable_sso_management
}
}

0 comments on commit c35332e

Please sign in to comment.