-
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
Reader endpoint in aws_elasticache_replication_group #10519
Comments
If anyone is looking for a work around in the meantime, inferring the reader endpoint from the primary endpoint has worked well for us.
|
It seems if you enable encryption in transit the endpoint is different. They are: I managed to get the reader endpoint with the following if encryption in transit is enabled:
Keep in mind this is only for a non-clustered redis. |
we CNAME the address of the master to just wanted to highlight that while this workaround is good for many use cases, it doesn't negate the need for this feature :¬) |
This has been released in version 3.23.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! |
Community Note
Description
AWS ElastiCache replication group for Redis has attribute called
ReaderEndpoint
. It has the same structure asPrimaryEndpoint
.Terraform aws provider already gives us
primary_endpoint_address
attribute.Implement a new, similar attribute (
reader_endpoint_address
?) for the reader endpoint.https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-replication-groups.html
New or Affected Resource(s)
aws_elasticache_replication_group
resource and datasourceThe text was updated successfully, but these errors were encountered: