-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Adds ElastiCache Global Replication Group basic support #17615
Conversation
…lR/terraform-provider-aws into elasticache_global_replication_group
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.
Overall looks pretty good, just some minor things to consider before merge. 👍
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_disappears (1537.14s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_Description (1646.47s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_basic (1853.08s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_basic (956.13s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_Description (980.74s)
--- PASS: TestAccAWSElasticacheGlobalReplicationGroup_disappears (1015.49s)
conn := meta.(*AWSClient).elasticacheconn | ||
|
||
// Only one field can be changed per request | ||
updaters := map[string]elasticacheGlobalReplicationGroupUpdater{} |
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.
Would recommend refactoring this "clever" logic in preference of simpler per attribute checks for consistency with the rest of the provider, especially in the future when attribute change ordering might matter. 👍
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.
This was left over from deferred work to that allows updating other fields on the resource
Co-authored-by: Brian Flad <[email protected]>
Co-authored-by: Brian Flad <[email protected]>
This has been released in version 3.29.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! |
Continues work started in #15885 by @MqllR
Adds basic support for creating a ElastiCache Global Replication Group. Still needs additional support in
aws_elasticache_replication_group
to support adding secondary replication groups to theaws_elasticache_global_replication_group
.Relates #12708
Output from acceptance testing: