terraform-aws-redis-elasticache icon indicating copy to clipboard operation
terraform-aws-redis-elasticache copied to clipboard

Error when using output endpoint

Open holms opened this issue 6 years ago • 4 comments

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. 

holms avatar Nov 23 '18 18:11 holms