-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
30 lines (24 loc) · 897 Bytes
/
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
output "redis_security_group_id" {
value = aws_security_group.redis_security_group.id
description = "ID of the managed Security Group generated for Redis"
}
output "parameter_group" {
value = aws_elasticache_parameter_group.redis_parameter_group.id
description = "ID of the Parameter Group to control the runtime properties of Redis nodes and clusters"
}
output "redis_subnet_group_name" {
value = aws_elasticache_subnet_group.redis_subnet_group.name
description = "Name of the Redis subnet"
}
output "id" {
value = aws_elasticache_replication_group.redis.id
description = "ID of the Redis replication group"
}
output "port" {
value = var.redis_port
description = "Redis port (default is 6379)"
}
output "endpoint" {
value = aws_elasticache_replication_group.redis.primary_endpoint_address
description = "Redis endpoint address"
}