-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
80 lines (65 loc) · 2.9 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
output "elasticache_replication_group_arn" {
value = aws_elasticache_replication_group.redis.arn
description = "The Amazon Resource Name (ARN) of the created ElastiCache Replication Group."
}
output "elasticache_replication_group_id" {
value = aws_elasticache_replication_group.redis.id
description = "The ID of the ElastiCache Replication Group."
}
output "elasticache_replication_group_primary_endpoint_address" {
value = var.num_node_groups > 0 ? aws_elasticache_replication_group.redis.configuration_endpoint_address : aws_elasticache_replication_group.redis.primary_endpoint_address
description = "The address of the endpoint for the primary node in the replication group."
}
output "elasticache_replication_group_reader_endpoint_address" {
value = var.num_node_groups > 0 ? aws_elasticache_replication_group.redis.configuration_endpoint_address : aws_elasticache_replication_group.redis.reader_endpoint_address
description = "The address of the endpoint for the reader node in the replication group."
}
output "elasticache_replication_group_member_clusters" {
value = aws_elasticache_replication_group.redis.member_clusters
description = "The identifiers of all the nodes that are part of this replication group."
}
output "elasticache_parameter_group_id" {
value = aws_elasticache_parameter_group.redis.id
description = "The ElastiCache parameter group name."
}
output "security_group_id" {
value = aws_security_group.redis.id
description = "The ID of the Redis ElastiCache security group."
}
output "security_group_arn" {
value = aws_security_group.redis.arn
description = "The ARN of the Redis ElastiCache security group."
}
output "security_group_vpc_id" {
value = aws_security_group.redis.vpc_id
description = "The VPC ID of the Redis ElastiCache security group."
}
output "security_group_owner_id" {
value = aws_security_group.redis.owner_id
description = "The owner ID of the Redis ElastiCache security group."
}
output "security_group_name" {
value = aws_security_group.redis.name
description = "The name of the Redis ElastiCache security group."
}
output "security_group_description" {
value = aws_security_group.redis.description
description = "The description of the Redis ElastiCache security group."
}
output "security_group_ingress" {
value = aws_security_group.redis.ingress
description = "The ingress rules of the Redis ElastiCache security group."
}
output "security_group_egress" {
value = aws_security_group.redis.egress
description = "The egress rules of the Redis ElastiCache security group."
}
output "elasticache_auth_token" {
description = "The Redis Auth Token."
value = aws_elasticache_replication_group.redis.auth_token
sensitive = true
}
output "elasticache_port" {
description = "The Redis port."
value = aws_elasticache_replication_group.redis.port
}