This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
145 lines (119 loc) · 2.6 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
variable "name" {
type = string
}
variable "auto_minor_version_upgrade" {
type = bool
default = true
}
variable "port" {
default = 1433
type = number
}
variable "allocated_storage" {
default = 20 # minimum for RDS
type = number
}
variable "max_allocated_storage" {
default = 100
type = number
}
variable "additional_attached_security_group_ids" {
type = list(string)
default = []
}
variable "subnet_ids" {
type = list(string)
}
variable "vpc_id" {
type = string
}
variable "master_username" {
default = "admin"
type = string
}
variable "tags" {
type = map(string)
default = {
Owner = "Batcave"
}
}
variable "route53_zone_id" {
default = ""
type = string
}
variable "route53_zone_base_domain" {
description = "If route53_zone_id is an empty string, this variable is used to lookup the r53 zone dynamicaly"
default = ""
type = string
}
variable "route53_record_name" {
type = string
}
variable "allowed_security_group_ids" {
type = list(string)
default = []
}
variable "allowed_cidr_blocks" {
type = list(string)
default = []
}
variable "allowed_prefix_lists" {
type = list(string)
default = []
}
variable "apply_immediately" {
default = false
type = bool
}
variable "instance_class" {
default = "db.r5.xlarge"
description = "Instance classes for instances created under the cluster"
type = string
}
variable "deletion_protection" {
type = bool
default = false
}
variable "backup_window" {
type = string
default = "03:00-06:00"
}
variable "maintenance_window" {
type = string
default = "Mon:00:00-Mon:03:00"
}
variable "create_random_password" {
description = "Determines whether to create random password for RDS primary cluster"
type = bool
default = true
}
variable "backup_retention_period" {
type = number
default = 7
description = "The days to retain backups for. Default 7"
}
variable "skip_final_snapshot" {
type = bool
default = false
}
variable "options" {
description = "A list of Options to apply"
type = any
default = []
}
variable "subnet_group_name_override" {
type = string
default = ""
nullable = false
description = "Override the subnet group name. If not set, the name will be the same as the name of the RDS instance"
}
variable "s3_integration_role_arn" {
type = string
default = ""
nullable = false
}
variable "ca_cert_identifier" {
description = "Specifies the identifier of the CA certificate for the DB instance"
type = string
default = "rds-ca-rsa2048-g1"
}