diff --git a/README.md b/README.md index be92893..e6293dd 100644 --- a/README.md +++ b/README.md @@ -378,7 +378,7 @@ No modules. | [event\_subscriptions](#input\_event\_subscriptions) | Map of objects that define the event subscriptions to be created | `any` | `{}` | no | | [iam\_role\_permissions\_boundary](#input\_iam\_role\_permissions\_boundary) | ARN of the policy that is used to set the permissions boundary for the role | `string` | `null` | no | | [iam\_role\_tags](#input\_iam\_role\_tags) | A map of additional tags to apply to the DMS IAM roles | `map(string)` | `{}` | no | -| [repl\_config\_timeouts](#input\_repl\_config\_timeouts) | A map of timeouts for serverless replication config create/update/delete operations | `map(string)` | `{}` | no | +| [repl\_config\_timeouts](#input\_repl\_config\_timeouts) | A map of timeouts for serverless replication config create/update/delete operations | `map(string)` |
{| no | | [repl\_instance\_allocated\_storage](#input\_repl\_instance\_allocated\_storage) | The amount of storage (in gigabytes) to be initially allocated for the replication instance. Min: 5, Max: 6144, Default: 50 | `number` | `null` | no | | [repl\_instance\_allow\_major\_version\_upgrade](#input\_repl\_instance\_allow\_major\_version\_upgrade) | Indicates that major version upgrades are allowed | `bool` | `true` | no | | [repl\_instance\_apply\_immediately](#input\_repl\_instance\_apply\_immediately) | Indicates whether the changes should be applied immediately or during the next maintenance window | `bool` | `null` | no | diff --git a/main.tf b/main.tf index 08fb3f4..230c5fc 100644 --- a/main.tf +++ b/main.tf @@ -434,9 +434,9 @@ resource "aws_dms_replication_config" "this" { tags = merge(var.tags, try(each.value.tags, {})) timeouts { - create = try(var.repl_config_timeouts.create, null) - update = try(var.repl_config_timeouts.update, null) - delete = try(var.repl_config_timeouts.delete, null) + create = var.repl_config_timeouts.create + update = var.repl_config_timeouts.update + delete = var.repl_config_timeouts.delete } } diff --git a/variables.tf b/variables.tf index 9b8f161..d8467cc 100644 --- a/variables.tf +++ b/variables.tf @@ -193,7 +193,11 @@ variable "repl_instance_timeouts" { variable "repl_config_timeouts" { description = "A map of timeouts for serverless replication config create/update/delete operations" type = map(string) - default = {} + default = { + "create" = "60m" + "update" = "60m" + "delete" = "60m" + } } ################################################################################
"create": "60m",
"delete": "60m",
"update": "60m"
}