/
variables.tf
37 lines (31 loc) · 993 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
36
# ---------------------------------------------------------------------------------------------------------------------
# OPTIONAL PARAMETERS
# These parameters have reasonable defaults.
# ---------------------------------------------------------------------------------------------------------------------
variable "db_name" {
description = "Name for the DB."
type = string
default = null
}
variable "db_username" {
description = "Username for the DB."
type = string
sensitive = true
default = null
}
variable "db_password" {
description = "Password for the DB."
type = string
sensitive = true
default = null
}
variable "backup_retention_period" {
description = "Days to retain backups. Must be > 0 to enable replication."
type = number
default = null
}
variable "replicate_source_db" {
description = "If specified, replicate the RDS database at the given ARN."
type = string
default = null
}