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 tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
258
-
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|n/a|yes|
258
+
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|`null`|no|
259
259
| <aname="input_allow_major_version_upgrade"></a> [allow\_major\_version\_upgrade](#input\_allow\_major\_version\_upgrade)| Allow major version upgrade |`bool`|`false`| no |
260
260
| <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 |
261
261
| <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 |
@@ -282,7 +282,7 @@ Available targets:
282
282
| <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 |
283
283
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
284
284
| <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 |
285
-
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|n/a|yes|
285
+
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|`null`|no|
286
286
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type |`string`| n/a | yes |
287
287
| <aname="input_environment"></a> [environment](#input\_environment)| Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
288
288
| <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 |
@@ -311,6 +311,7 @@ Available targets:
311
311
| <aname="input_performance_insights_retention_period"></a> [performance\_insights\_retention\_period](#input\_performance\_insights\_retention\_period)| The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years). |`number`|`7`| no |
312
312
| <aname="input_publicly_accessible"></a> [publicly\_accessible](#input\_publicly\_accessible)| Determines if database can be publicly available (NOT recommended) |`bool`|`false`| no |
313
313
| <aname="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars)| Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
314
+
| <aname="input_replicate_source_db"></a> [replicate\_source\_db](#input\_replicate\_source\_db)| 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 (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kms_key_id`. See [DB Instance Replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html) and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication. |`string`|`null`| no |
314
315
| <aname="input_security_group_ids"></a> [security\_group\_ids](#input\_security\_group\_ids)| The IDs of the security groups from which to allow `ingress` traffic to the DB instance |`list(string)`|`[]`| no |
315
316
| <aname="input_skip_final_snapshot"></a> [skip\_final\_snapshot](#input\_skip\_final\_snapshot)| If true (default), no snapshot will be made before deleting DB |`bool`|`true`| no |
316
317
| <aname="input_snapshot_identifier"></a> [snapshot\_identifier](#input\_snapshot\_identifier)| Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot |`string`|`null`| no |
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional tags for appending to tags\_as\_list\_of\_maps. Not added to `tags`. |`map(string)`|`{}`| no |
43
-
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|n/a|yes|
43
+
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage in GBs |`number`|`null`|no|
44
44
| <aname="input_allow_major_version_upgrade"></a> [allow\_major\_version\_upgrade](#input\_allow\_major\_version\_upgrade)| Allow major version upgrade |`bool`|`false`| no |
45
45
| <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 |
46
46
| <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 |
@@ -67,7 +67,7 @@
67
67
| <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 |
68
68
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
69
69
| <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 |
70
-
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|n/a|yes|
70
+
| <aname="input_engine"></a> [engine](#input\_engine)| Database engine type |`string`|`null`|no|
71
71
| <aname="input_engine_version"></a> [engine\_version](#input\_engine\_version)| Database engine version, depends on engine type |`string`| n/a | yes |
72
72
| <aname="input_environment"></a> [environment](#input\_environment)| Environment, e.g. 'uw2', 'us-west-2', OR 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
73
73
| <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 |
@@ -96,6 +96,7 @@
96
96
| <aname="input_performance_insights_retention_period"></a> [performance\_insights\_retention\_period](#input\_performance\_insights\_retention\_period)| The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years). |`number`|`7`| no |
97
97
| <aname="input_publicly_accessible"></a> [publicly\_accessible](#input\_publicly\_accessible)| Determines if database can be publicly available (NOT recommended) |`bool`|`false`| no |
98
98
| <aname="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars)| Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
99
+
| <aname="input_replicate_source_db"></a> [replicate\_source\_db](#input\_replicate\_source\_db)| 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 (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kms_key_id`. See [DB Instance Replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html) and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication. |`string`|`null`| no |
99
100
| <aname="input_security_group_ids"></a> [security\_group\_ids](#input\_security\_group\_ids)| The IDs of the security groups from which to allow `ingress` traffic to the DB instance |`list(string)`|`[]`| no |
100
101
| <aname="input_skip_final_snapshot"></a> [skip\_final\_snapshot](#input\_skip\_final\_snapshot)| If true (default), no snapshot will be made before deleting DB |`bool`|`true`| no |
101
102
| <aname="input_snapshot_identifier"></a> [snapshot\_identifier](#input\_snapshot\_identifier)| Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot |`string`|`null`| no |
description="Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled"
322
324
default=false
323
325
}
326
+
327
+
variable"replicate_source_db" {
328
+
type=string
329
+
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 (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kms_key_id`. See [DB Instance Replication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Replication.html) and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication."
0 commit comments