Skip to content

Commit

Permalink
* 1.0.6 -- 2024-01-31
Browse files Browse the repository at this point in the history
  - output in users valid_ldap_users and invalid_ldap_users
  • Loading branch information
badra001 committed Jan 31, 2024
1 parent 07366ba commit 10e4da2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@

* 1.0.5 -- 2023-12-19
- add relay_state

* 1.0.6 -- 2024-01-31
- output in users valid_ldap_users and invalid_ldap_users
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.0.5"
_module_version = "1.0.6"
}
5 changes: 3 additions & 2 deletions group-assignment/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ output "results" {

output "users" {
value = {
users = local.users
ldap_users = { for k, v in local.ldap_user_attributes : k => v.mail }
users = local.users
valid_ldap_users = { for k, v in local.ldap_user_attributes : k => v.mail if can(v.mail) }
invalid_ldap_users = [for k, v in local.ldap_user_attributes : k if ! can(v.mail)]
}
}

0 comments on commit 10e4da2

Please sign in to comment.