-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2.0.1: new version, add max_session_duration
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| locals { | ||
| _defaults = { | ||
| "force_detach_policies" = false | ||
| "max_session_duration" = 3600 | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| } | ||
|
|