forked from terraform-community-modules/tf_aws_elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
60 lines (55 loc) · 1.23 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 "arn" {
description = "Amazon Resource Name (ARN) of the domain"
value = element(
concat(
aws_elasticsearch_domain.es_vpc.*.arn,
aws_elasticsearch_domain.es.*.arn,
[""],
),
0,
)
}
output "domain_id" {
description = "Unique identifier for the domain"
value = element(
concat(
aws_elasticsearch_domain.es_vpc.*.domain_id,
aws_elasticsearch_domain.es.*.domain_id,
[""],
),
0,
)
}
output "domain_name" {
description = "The name of the Elasticsearch domain"
value = element(
concat(
aws_elasticsearch_domain.es_vpc.*.domain_name,
aws_elasticsearch_domain.es.*.domain_name,
[""],
),
0,
)
}
output "endpoint" {
description = "Domain-specific endpoint used to submit index, search, and data upload requests"
value = element(
concat(
aws_elasticsearch_domain.es_vpc.*.endpoint,
aws_elasticsearch_domain.es.*.endpoint,
[""],
),
0,
)
}
output "kibana_endpoint" {
description = "Domain-specific endpoint for kibana without https scheme"
value = element(
concat(
aws_elasticsearch_domain.es_vpc.*.kibana_endpoint,
aws_elasticsearch_domain.es.*.kibana_endpoint,
[""],
),
0,
)
}