【发布时间】:2019-12-02 01:14:48
【问题描述】:
我是 terraform 和 aws 的新手。我需要在禁用集群模式的情况下配置 elasticache redis。我浏览了 aws_elasticache_replication_group 资源的文档,如果禁用了集群模式,它会将 primary_endpoint_address 指定为复制组中主节点的端点地址。
并根据aws docs:
对于 Redis(已禁用集群模式)集群,将主端点用于所有写入操作。使用 Reader Endpoint 在所有只读副本之间平均分配到端点的传入连接。将各个节点端点用于读取操作(在 API/CLI 中,这些端点称为读取端点)。
我的问题是如何获取 reader_endpoint_address aws_elasticache_replication_group?
【问题讨论】:
标签: amazon-web-services terraform amazon-elasticache