generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
outputs.tf
83 lines (66 loc) · 3.1 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
81
82
83
################################################################################
# Domain
################################################################################
output "domain_arn" {
description = "The Amazon Resource Name (ARN) of the domain"
value = try(aws_opensearch_domain.this[0].arn, null)
}
output "domain_id" {
description = "The unique identifier for the domain"
value = try(aws_opensearch_domain.this[0].domain_id, null)
}
output "domain_endpoint" {
description = "Domain-specific endpoint used to submit index, search, and data upload requests"
value = try(aws_opensearch_domain.this[0].endpoint, null)
}
output "domain_endpoint_v2" {
description = "V2 domain endpoint that works with both IPv4 and IPv6 addresses, used to submit index, search, and data upload requests"
value = try(aws_opensearch_domain.this[0].endpoint_v2, null)
}
output "domain_dashboard_endpoint" {
description = "Domain-specific endpoint for Dashboard without https scheme"
value = try(aws_opensearch_domain.this[0].dashboard_endpoint, null)
}
output "domain_dashboard_endpoint_v2" {
description = "V2 domain endpoint for Dashboard that works with both IPv4 and IPv6 addresses, without https scheme"
value = try(aws_opensearch_domain.this[0].dashboard_endpoint_v2, null)
}
################################################################################
# Package Association(s)
################################################################################
output "package_associations" {
description = "Map of package associations created and their attributes"
value = aws_opensearch_package_association.this
}
################################################################################
# VPC Endpoint(s)
################################################################################
output "vpc_endpoints" {
description = "Map of VPC endpoints created and their attributes"
value = aws_opensearch_vpc_endpoint.this
}
################################################################################
# Outbound Connections
################################################################################
output "outbound_connections" {
description = "Map of outbound connections created and their attributes"
value = aws_opensearch_outbound_connection.this
}
################################################################################
# CloudWatch Log Groups
################################################################################
output "cloudwatch_logs" {
description = "Map of CloudWatch log groups created and their attributes"
value = aws_cloudwatch_log_group.this
}
################################################################################
# Security Group
################################################################################
output "security_group_arn" {
description = "Amazon Resource Name (ARN) of the security group"
value = try(aws_security_group.this[0].arn, null)
}
output "security_group_id" {
description = "ID of the security group"
value = try(aws_security_group.this[0].id, null)
}