Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 8, 2023
1 parent 35b1451 commit f6c1e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group-assignment/accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ locals {

organizational_units = distinct(compact(concat(local._ou_1, local._ou_2)))

_id_3 = flatten([for k, v in data.aws_organizations_organizational_unit_descendant_accounts.ou : [for accounts in v : account.id if account.status == "ACTIVE"]])
_id_3 = flatten([for k, v in data.aws_organizations_organizational_unit_descendant_accounts.ou : [for account in v.accounts : account.id if account.status == "ACTIVE"]])

account_ids = distinct(compact(concat(local._id_1, local._id_2, local._id_3)))
}
Expand Down

0 comments on commit f6c1e5b

Please sign in to comment.