Skip to content

Commit

Permalink
Add more outputs to Redis cluster module
Browse files Browse the repository at this point in the history
The module now exports the following attributes:

- configuration_endpoint_address
- id (new)
- primary_endpoint_address (new)
- port (new)
  • Loading branch information
Maurizio Branca committed Aug 7, 2017
1 parent 7c14aef commit 56adf13
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/data-stores/elasticache-redis-cluster/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
* Outputs.
*/

output "id" {
value = "${aws_elasticache_replication_group.redis_replication_group.id}"
}

output "configuration_endpoint_address" {
value = "${aws_elasticache_replication_group.redis_replication_group.configuration_endpoint_address}"
}

output "primary_endpoint_address" {
value = "${aws_elasticache_replication_group.redis_replication_group.primary_endpoint_address}"
}

output "port" {
value = "${aws_elasticache_replication_group.redis_replication_group.port}"
}

0 comments on commit 56adf13

Please sign in to comment.