generated from pbs/terraform-aws-template-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
39 lines (32 loc) · 1.48 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
output "name" {
description = "The name of the ElastiCache replication group"
value = aws_elasticache_replication_group.replication_group.id
}
output "arn" {
description = "The ARN of the ElastiCache replication group"
value = aws_elasticache_replication_group.replication_group.arn
}
output "sg_ids" {
description = "The security group ids"
value = local.security_group_ids
}
output "engine_version_actual" {
description = "Because ElastiCache pulls the latest minor or patch for a version, this attribute returns the running version of the cache engine."
value = aws_elasticache_replication_group.replication_group.engine_version
}
output "member_clusters" {
description = "Identifiers of all the nodes that are part of this replication group."
value = aws_elasticache_replication_group.replication_group.member_clusters
}
output "primary_endpoint_address" {
description = "Address of the endpoint for the primary node in the replication group."
value = var.create_dns ? aws_route53_record.primary_endpoint[0].fqdn : aws_elasticache_replication_group.replication_group.primary_endpoint_address
}
output "reader_endpoint_address" {
description = "Address of the endpoint for the reader node in the replication group."
value = var.create_dns ? aws_route53_record.reader_endpoint[0].fqdn : aws_elasticache_replication_group.replication_group.reader_endpoint_address
}
output "tags" {
description = "The tags"
value = local.tags
}