You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
256
-
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|`null`| no |
256
+
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`number`|`null`| no |
257
257
| <aname="input_allow_major_version_upgrade"></a> [allow\_major\_version\_upgrade](#input\_allow\_major\_version\_upgrade)| Allow major version upgrade |`bool`|`false`| no |
258
258
| <aname="input_allowed_cidr_blocks"></a> [allowed\_cidr\_blocks](#input\_allowed\_cidr\_blocks)| The whitelisted CIDRs which to allow `ingress` traffic to the DB instance |`list(string)`|`[]`| no |
259
259
| <aname="input_apply_immediately"></a> [apply\_immediately](#input\_apply\_immediately)| Specifies whether any database modifications are applied immediately, or during the next maintenance window |`bool`|`false`| no |
@@ -267,10 +267,10 @@ Available targets:
267
267
| <aname="input_charset_name"></a> [charset\_name](#input\_charset\_name)| The character set name to use for DB encoding. [Oracle & Microsoft SQL only](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#character_set_name). For other engines use `db_parameter`|`string`|`null`| no |
268
268
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
269
269
| <aname="input_copy_tags_to_snapshot"></a> [copy\_tags\_to\_snapshot](#input\_copy\_tags\_to\_snapshot)| Copy tags from DB to a snapshot |`bool`|`true`| no |
270
-
| <aname="input_database_name"></a> [database\_name](#input\_database\_name)| The name of the database to create when the DB instance is created |`string`|n/a|yes|
271
-
| <aname="input_database_password"></a> [database\_password](#input\_database\_password)|(Required unless a snapshot\_identifier or replicate\_source\_db is provided) Password for the master DB user |`string`|`""`| no |
270
+
| <aname="input_database_name"></a> [database\_name](#input\_database\_name)| The name of the database to create when the DB instance is created |`string`|`null`|no|
271
+
| <aname="input_database_password"></a> [database\_password](#input\_database\_password)|Password for the primary DB user. Required unless a `snapshot_identifier` or `replicate_source_db` is provided. |`string`|`null`| no |
272
272
| <aname="input_database_port"></a> [database\_port](#input\_database\_port)| Database port (\_e.g.\_`3306` for `MySQL`). Used in the DB Security Group to allow access to the DB instance from the provided `security_group_ids`|`number`| n/a | yes |
273
-
| <aname="input_database_user"></a> [database\_user](#input\_database\_user)|(Required unless a `snapshot_identifier` or `replicate_source_db` is provided) Username for the master DB user |`string`|`""`| no |
273
+
| <aname="input_database_user"></a> [database\_user](#input\_database\_user)|Username for the primary DB user. Required unless a `snapshot_identifier` or `replicate_source_db` is provided. |`string`|`null`| no |
274
274
| <aname="input_db_options"></a> [db\_options](#input\_db\_options)| A list of DB options to apply with an option group. Depends on DB engine | <pre>list(object({<br> db_security_group_memberships = list(string)<br> option_name = string<br> port = number<br> version = string<br> vpc_security_group_memberships = list(string)<br><br> option_settings = list(object({<br> name = string<br> value = string<br> }))<br> }))</pre> |`[]`| no |
275
275
| <aname="input_db_parameter"></a> [db\_parameter](#input\_db\_parameter)| A list of DB parameters to apply. Note that parameters may differ from a DB family to another | <pre>list(object({<br> apply_method = string<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
276
276
| <aname="input_db_parameter_group"></a> [db\_parameter\_group](#input\_db\_parameter\_group)| The DB parameter group family name. The value depends on DB engine used. See [DBParameterGroupFamily](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBParameterGroup.html#API_CreateDBParameterGroup_RequestParameters) for instructions on how to retrieve applicable value. |`string`| n/a | yes |
@@ -281,8 +281,8 @@ Available targets:
281
281
| <aname="input_dns_zone_id"></a> [dns\_zone\_id](#input\_dns\_zone\_id)| The ID of the DNS Zone in Route53 where a new DNS record will be created for the DB host name |`string`|`""`| no |
282
282
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
283
283
| <aname="input_enabled_cloudwatch_logs_exports"></a> [enabled\_cloudwatch\_logs\_exports](#input\_enabled\_cloudwatch\_logs\_exports)| 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). |`list(string)`|`[]`| no |
284
-
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|`null`| no |
285
-
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type |`string`| n/a | yes |
284
+
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`string`|`null`| no |
285
+
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`string`| n/a | yes |
286
286
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
287
287
| <aname="input_final_snapshot_identifier"></a> [final\_snapshot\_identifier](#input\_final\_snapshot\_identifier)| Final snapshot identifier e.g.: some-db-final-snapshot-2019-06-26-06-05 |`string`|`""`| no |
288
288
| <aname="input_host_name"></a> [host\_name](#input\_host\_name)| The DB host name created in Route53 |`string`|`"db"`| no |
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
41
-
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|`null`| no |
41
+
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`number`|`null`| no |
42
42
| <aname="input_allow_major_version_upgrade"></a> [allow\_major\_version\_upgrade](#input\_allow\_major\_version\_upgrade)| Allow major version upgrade |`bool`|`false`| no |
43
43
| <aname="input_allowed_cidr_blocks"></a> [allowed\_cidr\_blocks](#input\_allowed\_cidr\_blocks)| The whitelisted CIDRs which to allow `ingress` traffic to the DB instance |`list(string)`|`[]`| no |
44
44
| <aname="input_apply_immediately"></a> [apply\_immediately](#input\_apply\_immediately)| Specifies whether any database modifications are applied immediately, or during the next maintenance window |`bool`|`false`| no |
@@ -52,10 +52,10 @@
52
52
| <aname="input_charset_name"></a> [charset\_name](#input\_charset\_name)| The character set name to use for DB encoding. [Oracle & Microsoft SQL only](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance#character_set_name). For other engines use `db_parameter`|`string`|`null`| no |
53
53
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
54
54
| <aname="input_copy_tags_to_snapshot"></a> [copy\_tags\_to\_snapshot](#input\_copy\_tags\_to\_snapshot)| Copy tags from DB to a snapshot |`bool`|`true`| no |
55
-
| <aname="input_database_name"></a> [database\_name](#input\_database\_name)| The name of the database to create when the DB instance is created |`string`|n/a|yes|
56
-
| <aname="input_database_password"></a> [database\_password](#input\_database\_password)|(Required unless a snapshot\_identifier or replicate\_source\_db is provided) Password for the master DB user |`string`|`""`| no |
55
+
| <aname="input_database_name"></a> [database\_name](#input\_database\_name)| The name of the database to create when the DB instance is created |`string`|`null`|no|
56
+
| <aname="input_database_password"></a> [database\_password](#input\_database\_password)|Password for the primary DB user. Required unless a `snapshot_identifier` or `replicate_source_db` is provided. |`string`|`null`| no |
57
57
| <aname="input_database_port"></a> [database\_port](#input\_database\_port)| Database port (\_e.g.\_`3306` for `MySQL`). Used in the DB Security Group to allow access to the DB instance from the provided `security_group_ids`|`number`| n/a | yes |
58
-
| <aname="input_database_user"></a> [database\_user](#input\_database\_user)|(Required unless a `snapshot_identifier` or `replicate_source_db` is provided) Username for the master DB user |`string`|`""`| no |
58
+
| <aname="input_database_user"></a> [database\_user](#input\_database\_user)|Username for the primary DB user. Required unless a `snapshot_identifier` or `replicate_source_db` is provided. |`string`|`null`| no |
59
59
| <aname="input_db_options"></a> [db\_options](#input\_db\_options)| A list of DB options to apply with an option group. Depends on DB engine | <pre>list(object({<br> db_security_group_memberships = list(string)<br> option_name = string<br> port = number<br> version = string<br> vpc_security_group_memberships = list(string)<br><br> option_settings = list(object({<br> name = string<br> value = string<br> }))<br> }))</pre> |`[]`| no |
60
60
| <aname="input_db_parameter"></a> [db\_parameter](#input\_db\_parameter)| A list of DB parameters to apply. Note that parameters may differ from a DB family to another | <pre>list(object({<br> apply_method = string<br> name = string<br> value = string<br> }))</pre> |`[]`| no |
61
61
| <aname="input_db_parameter_group"></a> [db\_parameter\_group](#input\_db\_parameter\_group)| The DB parameter group family name. The value depends on DB engine used. See [DBParameterGroupFamily](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBParameterGroup.html#API_CreateDBParameterGroup_RequestParameters) for instructions on how to retrieve applicable value. |`string`| n/a | yes |
@@ -66,8 +66,8 @@
66
66
| <aname="input_dns_zone_id"></a> [dns\_zone\_id](#input\_dns\_zone\_id)| The ID of the DNS Zone in Route53 where a new DNS record will be created for the DB host name |`string`|`""`| no |
67
67
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
68
68
| <aname="input_enabled_cloudwatch_logs_exports"></a> [enabled\_cloudwatch\_logs\_exports](#input\_enabled\_cloudwatch\_logs\_exports)| 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). |`list(string)`|`[]`| no |
69
-
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|`null`| no |
70
-
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type |`string`| n/a | yes |
69
+
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`string`|`null`| no |
70
+
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type. Required unless a `snapshot_identifier` or `replicate_source_db` is provided.|`string`| n/a | yes |
71
71
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
72
72
| <aname="input_final_snapshot_identifier"></a> [final\_snapshot\_identifier](#input\_final\_snapshot\_identifier)| Final snapshot identifier e.g.: some-db-final-snapshot-2019-06-26-06-05 |`string`|`""`| no |
73
73
| <aname="input_host_name"></a> [host\_name](#input\_host\_name)| The DB host name created in Route53 |`string`|`"db"`| no |
0 commit comments