-
Notifications
You must be signed in to change notification settings - Fork 3
/
mysql_variables.tf
91 lines (75 loc) · 2.45 KB
/
mysql_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
variable "mysql_path" {
type = string
default = "mysql"
description = "Vault path where the Database secrets engine for mysql will be mounted."
}
variable "mysql_default_lease" {
type = number
default = 3600
description = "Default lease for Database secrets engine for mysql."
}
variable "mysql_max_lease" {
type = number
default = 3600
description = "Maximum lease for Database secrets engine for mysql."
}
variable "mysql_seal_wrapping" {
type = bool
default = true
description = "Enable seal wrapping for the DB secrets engine for mysql."
}
variable "mysql_local_mount" {
type = bool
default = true
description = "Boolean flag that can be explicitly set to true to enforce local mount in HA environment"
}
variable "mysql_external_entropy_access" {
type = bool
default = true
description = "Boolean flag that can be explicitly set to true to enable the secrets engine to access Vault's external entropy source"
}
variable "mysql_allowed_roles" {
type = list(string)
default = null
description = "A list of roles that are allowed to use this connection."
}
variable "mysql_root_rotation_statements" {
type = list(string)
default = null
description = "A list of database statements to be executed to rotate the root user's credentials."
}
variable "mysql_verify_connection" {
type = bool
default = false
description = "Whether the connection should be verified on initial configuration or not."
}
variable "mysql_connection_endpoint" {
type = string
default = "localhost:3306"
description = "A URL containing connection endpoint."
}
variable "mysql_max_connection_lifetime" {
type = number
default = 360
description = "The maximum number of seconds to keep a connection alive for."
}
variable "mysql_max_idle_connections" {
type = number
default = 360
description = "The maximum number of idle connections to maintain."
}
variable "mysql_max_open_connections" {
type = number
default = 360
description = "The maximum number of open connections to use."
}
variable "mysql_username" {
type = string
default = null
description = "The username for the MySQL database that Vault needs to connect to."
}
variable "mysql_password" {
type = string
default = null
description = "The password for the MySQL database that Vault needs to connect to."
}