Skip to content

Commit

Permalink
make object along with ldif
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 22, 2021
1 parent 5629efb commit 1bf9129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ resource "null_resource" "role_ldif" {
}

resource "ldap_object" "role" {
count = local.ldap_exists && local.enable_ldap ? 1 : 0
# count = local.ldap_exists && local.enable_ldap ? 1 : 0
count = local.enable_ldap ? 1 : 0
provider = ldap
dn = local.ldap_dn
object_classes = [
Expand Down

0 comments on commit 1bf9129

Please sign in to comment.