generated from clowdhaus/terraform-aws-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathoutputs.tf
46 lines (37 loc) · 1.82 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
################################################################################
# Accelerator
################################################################################
output "id" {
description = "The Amazon Resource Name (ARN) of the accelerator"
value = try(aws_globalaccelerator_accelerator.this[0].id, "")
}
output "dns_name" {
description = "The DNS name of the accelerator"
value = try(aws_globalaccelerator_accelerator.this[0].dns_name, "")
}
output "dual_stack_dns_name" {
description = "The DNS name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses"
value = try(aws_globalaccelerator_accelerator.this[0].dual_stack_dns_name, "")
}
output "hosted_zone_id" {
description = "The Global Accelerator Route 53 zone ID that can be used to route an Alias Resource Record Set to the Global Accelerator"
value = try(aws_globalaccelerator_accelerator.this[0].hosted_zone_id, "")
}
output "ip_sets" {
description = "IP address set associated with the accelerator"
value = try(aws_globalaccelerator_accelerator.this[0].ip_sets, {})
}
################################################################################
# Listener(s)
################################################################################
output "listeners" {
description = "Map of listeners created and their associated attributes"
value = aws_globalaccelerator_listener.this
}
################################################################################
# Endpoing Group(s)
################################################################################
output "endpoint_groups" {
description = "Map of endpoints created and their associated attributes"
value = aws_globalaccelerator_endpoint_group.this
}