forked from antonbabenko/modules.tf-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrds.json
More file actions
301 lines (301 loc) · 10.8 KB
/
rds.json
File metadata and controls
301 lines (301 loc) · 10.8 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
{
"allocated_storage": {
"description": "The allocated storage in gigabytes",
"type": "string"
},
"allow_major_version_upgrade": {
"default": false,
"description": "Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible",
"type": "bool"
},
"apply_immediately": {
"default": false,
"description": "Specifies whether any database modifications are applied immediately, or during the next maintenance window",
"type": "bool"
},
"auto_minor_version_upgrade": {
"default": true,
"description": "Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window",
"type": "bool"
},
"availability_zone": {
"default": "",
"description": "The Availability Zone of the RDS instance",
"type": "string"
},
"backup_retention_period": {
"default": 1,
"description": "The days to retain backups for",
"type": "number"
},
"backup_window": {
"description": "The daily time range (in UTC) during which automated backups are created if they are enabled. Example: '09:46-10:16'. Must not overlap with maintenance_window",
"type": "string"
},
"ca_cert_identifier": {
"default": "rds-ca-2019",
"description": "Specifies the identifier of the CA certificate for the DB instance",
"type": "string"
},
"character_set_name": {
"default": "",
"description": "(Optional) The character set name to use for DB encoding in Oracle instances. This can't be changed. See Oracle Character Sets Supported in Amazon RDS for more information",
"type": "string"
},
"copy_tags_to_snapshot": {
"default": false,
"description": "On delete, copy all Instance tags to the final snapshot (if final_snapshot_identifier is specified)",
"type": "bool"
},
"create_db_instance": {
"default": true,
"description": "Whether to create a database instance",
"type": "bool"
},
"create_db_option_group": {
"default": true,
"description": "(Optional) Create a database option group",
"type": "bool"
},
"create_db_parameter_group": {
"default": true,
"description": "Whether to create a database parameter group",
"type": "bool"
},
"create_db_subnet_group": {
"default": true,
"description": "Whether to create a database subnet group",
"type": "bool"
},
"create_monitoring_role": {
"default": false,
"description": "Create IAM role with a defined name that permits RDS to send enhanced monitoring metrics to CloudWatch Logs.",
"type": "bool"
},
"db_subnet_group_name": {
"default": "",
"description": "Name of DB subnet group. DB instance will be created in the VPC associated with the DB subnet group. If unspecified, will be created in the default VPC",
"type": "string"
},
"deletion_protection": {
"default": false,
"description": "The database can't be deleted when this value is set to true.",
"type": "bool"
},
"enabled_cloudwatch_logs_exports": {
"default": [],
"description": "List of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on engine): alert, audit, error, general, listener, slowquery, trace, postgresql (PostgreSQL), upgrade (PostgreSQL).",
"type": "list(string)"
},
"engine": {
"description": "The database engine to use",
"type": "string",
"cloudcraft_name": "engine"
},
"engine_version": {
"description": "The engine version to use",
"type": "string"
},
"family": {
"default": "",
"description": "The family of the DB parameter group",
"type": "string"
},
"final_snapshot_identifier": {
"default": "null",
"description": "The name of your final DB snapshot when this DB instance is deleted.",
"type": "string"
},
"iam_database_authentication_enabled": {
"default": false,
"description": "Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled",
"type": "bool"
},
"identifier": {
"description": "The name of the RDS instance, if omitted, Terraform will assign a random, unique identifier",
"type": "string"
},
"instance_class": {
"description": "The instance type of the RDS instance",
"type": "string",
"cloudcraft_name": "instanceType"
},
"iops": {
"default": 0,
"description": "The amount of provisioned IOPS. Setting this implies a storage_type of 'io1'",
"type": "number"
},
"kms_key_id": {
"default": "",
"description": "The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN. If storage_encrypted is set to true and kms_key_id is not specified the default KMS key created in your account will be used",
"type": "string"
},
"license_model": {
"default": "",
"description": "License model information for this DB instance. Optional, but required for some DB engines, i.e. Oracle SE1",
"type": "string"
},
"maintenance_window": {
"description": "The window to perform maintenance in. Syntax: 'ddd:hh24:mi-ddd:hh24:mi'. Eg: 'Mon:00:00-Mon:03:00'",
"type": "string"
},
"major_engine_version": {
"default": "",
"description": "Specifies the major version of the engine that this option group should be associated with",
"type": "string"
},
"max_allocated_storage": {
"default": 0,
"description": "Specifies the value for Storage Autoscaling",
"type": "number"
},
"monitoring_interval": {
"default": 0,
"description": "The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.",
"type": "number"
},
"monitoring_role_arn": {
"default": "",
"description": "The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring_interval is non-zero.",
"type": "string"
},
"monitoring_role_name": {
"default": "rds-monitoring-role",
"description": "Name of the IAM role which will be created when create_monitoring_role is enabled.",
"type": "string"
},
"multi_az": {
"default": false,
"description": "Specifies if the RDS instance is multi-AZ",
"type": "bool",
"cloudcraft_name": "isMultiAZ"
},
"name": {
"default": "",
"description": "The DB name to create. If omitted, no database is created initially",
"type": "string"
},
"option_group_description": {
"default": "",
"description": "The description of the option group",
"type": "string"
},
"option_group_name": {
"default": "",
"description": "Name of the DB option group to associate",
"type": "string"
},
"option_group_timeouts": {
"default": {
"delete": "15m"
},
"description": "Define maximum timeout for deletion of `aws_db_option_group` resource",
"type": "map(string)"
},
"options": {
"default": [],
"description": "A list of Options to apply.",
"type": "any"
},
"parameter_group_description": {
"default": "",
"description": "Description of the DB parameter group to create",
"type": "string"
},
"parameter_group_name": {
"default": "",
"description": "Name of the DB parameter group to associate or create",
"type": "string"
},
"parameters": {
"default": [],
"description": "A list of DB parameters (map) to apply",
"type": "list(map(string))"
},
"password": {
"description": "Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file",
"type": "string"
},
"performance_insights_enabled": {
"default": false,
"description": "Specifies whether Performance Insights are enabled",
"type": "bool"
},
"performance_insights_retention_period": {
"default": 7,
"description": "The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years).",
"type": "number"
},
"port": {
"description": "The port on which the DB accepts connections",
"type": "string"
},
"publicly_accessible": {
"default": false,
"description": "Bool to control if instance is publicly accessible",
"type": "bool"
},
"replicate_source_db": {
"default": "",
"description": "Specifies that this resource is a Replicate database, and to use this value as the source database. This correlates to the identifier of another Amazon RDS Database to replicate.",
"type": "string"
},
"skip_final_snapshot": {
"default": true,
"description": "Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from final_snapshot_identifier",
"type": "bool"
},
"snapshot_identifier": {
"default": "",
"description": "Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05.",
"type": "string"
},
"storage_encrypted": {
"default": false,
"description": "Specifies whether the DB instance is encrypted",
"type": "bool"
},
"storage_type": {
"default": "gp2",
"description": "One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'standard' if not. Note that this behaviour is different from the AWS web console, where the default is 'gp2'.",
"type": "string"
},
"subnet_ids": {
"default": [],
"description": "A list of VPC subnet IDs",
"type": "list(string)"
},
"tags": {
"default": {},
"description": "A mapping of tags to assign to all resources",
"type": "map(string)"
},
"timeouts": {
"default": {
"create": "40m",
"delete": "40m",
"update": "80m"
},
"description": "(Optional) Updated Terraform resource management timeouts. Applies to `aws_db_instance` in particular to permit resource management times",
"type": "map(string)"
},
"timezone": {
"default": "",
"description": "(Optional) Time zone of the DB instance. timezone is currently only supported by Microsoft SQL Server. The timezone can only be set on creation. See MSSQL User Guide for more information.",
"type": "string"
},
"use_parameter_group_name_prefix": {
"default": true,
"description": "Whether to use the parameter group name prefix or not",
"type": "bool"
},
"username": {
"description": "Username for the master DB user",
"type": "string"
},
"vpc_security_group_ids": {
"default": [],
"description": "List of VPC security groups to associate",
"type": "list(string)"
}
}