forked from cloudposse/terraform-aws-vpn-connection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
53 lines (43 loc) · 1.93 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
output "vpn_gateway_id" {
description = "Virtual Private Gateway ID"
value = join("", aws_vpn_gateway.default.*.id)
}
output "customer_gateway_id" {
description = "Customer Gateway ID"
value = join("", aws_customer_gateway.default.*.id)
}
output "vpn_connection_id" {
description = "VPN Connection ID"
value = join("", aws_vpn_connection.default.*.id)
}
output "vpn_connection_customer_gateway_configuration" {
description = "The configuration information for the VPN connection's Customer Gateway (in the native XML format)"
value = join(
"",
aws_vpn_connection.default.*.customer_gateway_configuration,
)
}
output "vpn_connection_tunnel1_address" {
description = "The public IP address of the first VPN tunnel"
value = join("", aws_vpn_connection.default.*.tunnel1_address)
}
output "vpn_connection_tunnel1_cgw_inside_address" {
description = "The RFC 6890 link-local address of the first VPN tunnel (Customer Gateway side)"
value = join("", aws_vpn_connection.default.*.tunnel1_cgw_inside_address)
}
output "vpn_connection_tunnel1_vgw_inside_address" {
description = "The RFC 6890 link-local address of the first VPN tunnel (Virtual Private Gateway side)"
value = join("", aws_vpn_connection.default.*.tunnel1_vgw_inside_address)
}
output "vpn_connection_tunnel2_address" {
description = "The public IP address of the second VPN tunnel"
value = join("", aws_vpn_connection.default.*.tunnel2_address)
}
output "vpn_connection_tunnel2_cgw_inside_address" {
description = "The RFC 6890 link-local address of the second VPN tunnel (Customer Gateway side)"
value = join("", aws_vpn_connection.default.*.tunnel2_cgw_inside_address)
}
output "vpn_connection_tunnel2_vgw_inside_address" {
description = "The RFC 6890 link-local address of the second VPN tunnel (Virtual Private Gateway side)"
value = join("", aws_vpn_connection.default.*.tunnel2_vgw_inside_address)
}