terraform-aws-redis-elasticache
terraform-aws-redis-elasticache copied to clipboard
Error when using output endpoint
Seems to be it's invalid.
* module.redis_sharepass.output.endpoint: Resource 'aws_elasticache_replication_group.redis' does not have attribute 'primary_endpoint_address' for variable 'aws_elasticache_replication_group.redis.primary_endpoint_address'
According to docs this attribute is only for non-clustered redis:
primary_endpoint_address - (Redis only) The address of the
endpoint for the primary node in the replication group, if the cluster mode is disabled.
For clustered redis you need to you use this:
configuration_endpoint_address - The address of the replication group configuration endpoint when cluster mode is enabled.