Skip to content

Commit

Permalink
v2.0.1: new version, add max_session_duration
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Dec 16, 2021
1 parent 1bf9129 commit c97120e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions defaults.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
locals {
_defaults = {
"force_detach_policies" = false
"max_session_duration" = 3600
}
}
7 changes: 7 additions & 0 deletions provider.ldap.tf.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
provider "ldap" {
ldap_host = var.ldap_host
ldap_port = var.ldap_port
use_tls = true
bind_user = var.ldap_user
bind_password = var.ldap_password
}
27 changes: 27 additions & 0 deletions variables.ldap.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#---
# ldap
#---
variable "ldap_user" {
description = "LDAP user for writing data into eDirectory or Active Directory"
type = string
default = ""
}

variable "ldap_password" {
description = "LDAP password for ldap_user for writing data into eDirectory or Active Directory"
type = string
default = ""
}

variable "ldap_host" {
description = "LDAP Hostname (default is for eBOCAS)"
type = string
default = "ldap.e.tco.census.gov"
}

variable "ldap_port" {
description = "LDAP port (default is 389 but also using STARTTLS)"
type = number
default = 389
}

0 comments on commit c97120e

Please sign in to comment.