-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
59 lines (48 loc) · 2.44 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
output "endpoint" {
description = "Redis primary or configuration endpoint, whichever is appropriate for the given cluster mode"
value = var.use_serverless ? try(awscc_elasticache_serverless_cache.this[0].endpoint.address, null) : try(aws_elasticache_replication_group.this[0].primary_endpoint_address, null)
}
output "reader_endpoint_address" {
description = "The address of the endpoint for the reader node in the replication group, if the cluster mode is disabled"
value = try(aws_elasticache_replication_group.this[0].reader_endpoint_address, null)
}
output "member_clusters" {
description = "Redis cluster members"
value = try(aws_elasticache_replication_group.this[0].member_clusters, null)
}
output "arn" {
description = "Elasticache Replication Group ARN"
value = var.use_serverless ? try(awscc_elasticache_serverless_cache.this[0].arn, null) : try(aws_elasticache_replication_group.this[0].arn, null)
}
output "cluster_enabled" {
description = "Indicates if cluster mode is enabled."
value = try(aws_elasticache_replication_group.this[0].cluster_enabled, null)
}
output "id" {
description = "ID of the ElastiCache Replication Group."
value = try(aws_elasticache_replication_group.this[0].id, null)
}
output "configuration_endpoint_address" {
description = "Address of the replication group configuration endpoint when cluster mode is enabled."
value = try(aws_elasticache_replication_group.this[0].configuration_endpoint_address, null)
}
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 = try(aws_elasticache_replication_group.this[0].engine_version_actual, null)
}
output "subnet_group_name" {
description = "The Name of the ElastiCache Subnet Group."
value = try(aws_elasticache_subnet_group.this[0].name, var.subnet_group_name)
}
output "subnet_group_subnet_ids" {
description = "The Subnet IDs of the ElastiCache Subnet Group."
value = try(aws_elasticache_subnet_group.this[0].subnet_ids, var.subnets)
}
output "parameter_group_arn" {
description = "The AWS ARN associated with the parameter group."
value = try(aws_elasticache_parameter_group.this[0].arn, null)
}
output "parameter_group_id" {
description = "The ElastiCache parameter group name."
value = try(aws_elasticache_parameter_group.this[0].id, null)
}