-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
35 lines (31 loc) · 850 Bytes
/
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
variable "host" {
description = "RDS connection data"
type = object({
host = string
port = number
username = string
password = string
})
}
variable "database" {
description = "Database to manage permissions at"
type = object({
name = string,
owner = string
})
}
variable "group_role" {
description = "Group role to be granted with specified privileges"
type = string
default = "group_ro_all"
}
variable "make_admin_own" {
description = "Is it necessary to grant admin user to database owner role or not. It is in case of RDS, because standard root account isn't a superuser."
type = bool
default = true
}
variable "revoke_grants" {
description = "Revoke all grants which were provided by this module just before or not"
type = bool
default = false
}