-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Allow adding member Replication Group to ElastiCache Global Replication Group #17725
Conversation
@gdavison I'm hitting failures:
|
fd339bc
to
f5dc2d0
Compare
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.
Looks good! 🎉
I ran all tests and they passed (closed the window with most of the results and won't run them again just for that text).
Problematic acceptance tests in commercial (us-west-2
):
--- PASS: TestAccAWSElasticacheReplicationGroup_Validation_GlobalReplicationGroupIdAndNodeType (1702.14s)
--- PASS: TestAccAWSElasticacheReplicationGroup_GlobalReplicationGroupId_Basic (3475.22s)
--- PASS: TestAccAWSElasticacheReplicationGroup_GlobalReplicationGroupId_disappears (3475.41s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_MultipleSecondaries (4702.57s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_ReplaceSecondary_DifferentRegion (5296.17s)
GlobalReplicationGroupDisassociationRetryTimeout = 45 * time.Minute | ||
|
||
globalReplicationGroupDisassociationTimeout = 20 * time.Minute | ||
|
||
globalReplicationGroupDisassociationMinTimeout = 10 * time.Second | ||
globalReplicationGroupDisassociationDelay = 30 * time.Second |
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.
GlobalReplicationGroupDisassociationRetryTimeout = 45 * time.Minute | |
globalReplicationGroupDisassociationTimeout = 20 * time.Minute | |
globalReplicationGroupDisassociationMinTimeout = 10 * time.Second | |
globalReplicationGroupDisassociationDelay = 30 * time.Second | |
GlobalReplicationGroupDisassociationRetryTimeout = 45 * time.Minute | |
GlobalReplicationGroupDisassociationTimeout = 20 * time.Minute | |
GlobalReplicationGroupDisassociationMinTimeout = 10 * time.Second | |
GlobalReplicationGroupDisassociationDelay = 30 * time.Second |
Small nit: I see no downside in exporting all the constants. With this naming scheme, collisions are unlikely.
Timeout: globalReplicationGroupDisassociationTimeout, | ||
MinTimeout: globalReplicationGroupDisassociationMinTimeout, | ||
Delay: globalReplicationGroupDisassociationDelay, |
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.
Timeout: globalReplicationGroupDisassociationTimeout, | |
MinTimeout: globalReplicationGroupDisassociationMinTimeout, | |
Delay: globalReplicationGroupDisassociationDelay, | |
Timeout: GlobalReplicationGroupDisassociationTimeout, | |
MinTimeout: GlobalReplicationGroupDisassociationMinTimeout, | |
Delay: GlobalReplicationGroupDisassociationDelay, |
This has been released in version 3.32.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
PR #17615 added the
aws_elasticache_global_replication_group
resource, but only the primary Replication Group could be added. This PR extendsaws_elasticache_replication_group
to allow adding secondary Replication Groups to the Global Replication Group.Community Note
Closes #12708
Closes #17812
Output from acceptance testing: