-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpostgresql_variables.tf
97 lines (80 loc) · 2.61 KB
/
postgresql_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
variable "postgresql_path" {
type = string
default = "postgresql"
description = "Vault path where the Database secrets engine for postgresql will be mounted."
}
variable "postgresql_default_lease" {
type = number
default = 3600
description = "Default lease for Database secrets engine for postgresql."
}
variable "postgresql_max_lease" {
type = number
default = 3600
description = "Maximum lease for Database secrets engine for postgresql."
}
variable "postgresql_seal_wrapping" {
type = bool
default = true
description = "Enable seal wrapping for the DB secrets engine for postgresql."
}
variable "postgresql_local_mount" {
type = bool
default = true
description = "Boolean flag that can be explicitly set to true to enforce local mount in HA environment"
}
variable "postgresql_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 "postgresql_allowed_roles" {
type = list(string)
default = null
description = "A list of roles that are allowed to use this connection."
}
variable "postgresql_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 "postgresql_verify_connection" {
type = bool
default = false
description = "Whether the connection should be verified on initial configuration or not."
}
variable "postgresql_connection_endpoint" {
type = string
default = "localhost:5432"
description = "PostgreSQL endpoint to connect to."
}
variable "postgresql_username" {
type = string
default = null
description = "PostgreSQL user to authenticate with."
}
variable "postgresql_password" {
type = string
default = null
description = "PostgreSQL password to authenticate with."
}
variable "postgresql_sslmode" {
type = string
default = "disable"
description = "SSL mode to use when Vault connects to PostgreSQL."
}
variable "postgresql_max_connection_lifetime" {
type = number
default = 360
description = "The maximum number of seconds to keep a connection alive for."
}
variable "postgresql_max_idle_connections" {
type = number
default = 360
description = "The maximum number of idle connections to maintain."
}
variable "postgresql_max_open_connections" {
type = number
default = 360
description = "The maximum number of open connections to use."
}