-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Make repl config timeouts configurable #82
feat: Make repl config timeouts configurable #82
Conversation
This PR exposes the timeouts block for the aws_dms_replication_config resource
08bbd5e
to
c110502
Compare
main.tf
Outdated
@@ -432,6 +432,12 @@ resource "aws_dms_replication_config" "this" { | |||
} | |||
|
|||
tags = merge(var.tags, try(each.value.tags, {})) | |||
|
|||
timeouts { | |||
create = var.repl_config_timeouts.create |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this block and variable like in aws_dms_replication_instance
resource:
create = var.repl_config_timeouts.create | |
create = try(var.repl_config_timeouts.create, null) |
c110502
to
e58c043
Compare
491f197
into
terraform-aws-modules:master
This PR is included in version 2.4.0 🎉 |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
This PR exposes the timeouts block for the aws_dms_replication_config Terraform resource
Motivation and Context
In my team's work, we have found that Serverless Replications can take longer than the resource's default 60m timeout to become healthy. So we end up in a bad Terraform state, where TF creates the Replication, times out creating the config and leaves the resource in a tainted state that we need to clean up. Ideally, this change will allow TF to fully create Replication Config resources without timing out.
Breaking Changes
Changes are optional and non-breaking
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request