-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
119 lines (91 loc) · 1.76 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
variable "eks" {
type = map(string)
default = {}
}
variable "env" {
}
variable "db_identifier" {
}
variable "db_engine" {
default = "postgres"
}
variable "db_engine_version" {
default = "11.5"
}
variable "db_major_engine_version" {
default = "11"
}
variable "db_instance_class" {
default = "db.t3.small"
}
variable "db_allocated_storage" {
default = 20
}
variable "db_storage_encrypted" {
default = true
}
variable "db_storage_type" {
default = "gp2"
}
variable "db_max_allocated_storage" {
default = "0"
}
variable "db_name" {
default = ""
}
variable "db_username" {
default = "user"
}
variable "db_password" {
default = ""
}
variable "db_port" {
default = 5432
}
variable "db_maintenance_window" {
default = "Mon:00:00-Mon:03:00"
}
variable "db_backup_window" {
default = "03:00-06:00"
}
variable "db_backup_retention_period" {
default = 7
}
variable "db_tags" {
type = map(string)
}
variable "db_enable_cloudwatch_logs_exports" {
type = list(string)
default = ["postgresql", "upgrade"]
}
variable "db_family" {
default = "postgres11"
}
variable "db_deletion_protection" {
default = false
}
variable "db_apply_immediately" {
default = false
description = "Specifies whether any database modifications are applied immediately, or during the next maintenance window"
}
variable "db_ca_cert_identifier" {
default = "rds-ca-2019"
description = "Specifies the identifier of the CA certificate for the DB instance"
}
variable "db_parameters" {
type = list
default = []
}
variable "db_multi_az" {
default = false
}
variable "inject_secret_into_ns" {
type = list
default = []
}
variable "db_remote_security_group_id" {
default = ""
}
variable "db_create_db_option_group" {
default = true
}