-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
104 lines (86 loc) · 2.94 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
variable "project_name" {
default = "ldap-maintainer"
description = "Name of the project"
type = string
}
variable "ldaps_url" {
description = "LDAPS URL of the target domain"
type = string
}
variable "domain_base_dn" {
description = "Distinguished name of the domain"
type = string
}
variable "svc_user_dn" {
description = "Distinguished name of the LDAP Maintenance service account used to manage simpleAD"
type = string
}
variable "svc_user_pwd_ssm_key" {
description = "SSM parameter key that contains the LDAP Maintenance service account password"
type = string
}
variable "vpc_id" {
description = "ID of the VPC hosting the target Simple AD instance"
type = string
}
variable "slack_api_token" {
description = "API token used by the slack client. Located under the slack application Settings > Install App > Bot User OAuth Access Token"
type = string
}
variable "slack_signing_secret" {
description = "The slack application's signing secret. Located under the slack application Settings > Basic Information"
type = string
}
variable "slack_channel_id" {
description = "Channel that the slack notifier will post to"
type = string
}
variable "log_level" {
default = "Info"
description = "(Optional) Log level of the lambda output, one of: Debug, Info, Warning, Error, or Critical"
type = string
}
variable "hands_off_accounts" {
default = []
description = "(Optional) List of user names to filter out of the user search results"
type = list(string)
}
variable "dynamodb_table_name" {
description = "Name of the dynamodb to take actions against"
type = string
}
variable "dynamodb_table_arn" {
description = "ARN of the dynamodb to take actions against"
type = string
}
variable "tags" {
type = map(string)
default = {}
description = "Map of tags to assign to this module's resources"
}
variable "maintenance_schedule" {
type = string
# Run at 8:00 am (UTC) every 1st day of the month
default = "cron(0 8 1 * ? *)"
description = "Periodicity at which to trigger the ldap maintenance step function"
}
variable "enable_dynamodb_cleanup" {
type = bool
default = true
description = "Controls wether to enable the dynamodb cleanup resources. The lambda function and supporting resources will still be deployed."
}
variable "additional_cleanup_tasks" {
type = string
default = ""
description = "(Optional) List of step function tasks to execute in parallel once the cleanup action has been approved."
}
variable "days_since_pwdlastset" {
description = "Number of days since the pwdLastSet ldap attribute has been updated. This metric is used to disable the target ldap object."
type = number
default = 120
}
variable "manual_approval_timeout" {
description = "Timeout in seconds for the manual approval step."
type = number
default = 3600
}