-
-
Notifications
You must be signed in to change notification settings - Fork 248
/
outputs.tf
60 lines (48 loc) · 1.67 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
output "id" {
value = join("", aws_elasticache_replication_group.default[*].id)
description = "Redis cluster ID"
}
output "security_group_id" {
value = module.aws_security_group.id
description = "The ID of the created security group"
}
output "security_group_name" {
value = module.aws_security_group.name
description = "The name of the created security group"
}
output "port" {
value = var.port
description = "Redis port"
}
output "endpoint" {
value = local.endpoint_address
description = "Redis primary, configuration or serverless endpoint , whichever is appropriate for the given configuration"
}
output "reader_endpoint_address" {
value = local.reader_endpoint_address
description = "The address of the endpoint for the reader node in the replication group, if the cluster mode is disabled or serverless is being used."
}
output "member_clusters" {
value = aws_elasticache_replication_group.default[*].member_clusters
description = "Redis cluster members"
}
output "host" {
value = module.dns.hostname
description = "Redis hostname"
}
output "arn" {
value = local.arn
description = "Elasticache Replication Group ARN"
}
output "engine_version_actual" {
value = join("", aws_elasticache_replication_group.default[*].engine_version_actual)
description = "The running version of the cache engine"
}
output "cluster_enabled" {
value = join("", aws_elasticache_replication_group.default[*].cluster_enabled)
description = "Indicates if cluster mode is enabled"
}
output "serverless_enabled" {
value = var.serverless_enabled
description = "Indicates if serverless mode is enabled"
}