cloudposse / terraform-aws-elasticache-redis

Terraform module to provision an ElastiCache Redis Cluster
https://cloudposse.com/accelerate
Apache License 2.0
141 stars 244 forks source link

Additional outputs for the Redis Replication Group #113

Closed Fred-Wright-IBM closed 2 years ago

Fred-Wright-IBM commented 3 years ago

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Adding all of available outputs for the aws_elasticache_replication_group resource.

Expected Behavior

As an example for one of the missing outputs, reader_endpoint_address: When using the module and referencing the module.EXAMPLE. reader_endpoint_address I would expect to receive the DNS endpoint for the reader node in the replication group.

Use Case

I am currently using your module to provide cache for Kong EE API Gateway and having it store session tokens as part of a plugin. I need some of the data planes to be able to read from the cache using the Reader Endpoint which at the moment they are not able to do.

Describe Ideal Solution

I would like all of the remaining available outputs from the aws_elasticache_replication_group to be made available. These include; arn, cluster_enabled, reader_endpoint_address and member_clusters

Alternatives Considered

At present, I don't believe there are any alternatives.

Additional Context

No additional context to add.

Thanks guys and keep up the awesome work!

3h4x commented 3 years ago

@Fred-Wright-IBM Thanks for the issue, I just stumbled upon that myself. I might push a PR to fix that later on 🤞