-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
55 lines (44 loc) · 1.63 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
# This file contains outputs from the module
# https://www.terraform.io/docs/configuration/outputs.html
output "nva_public_ips" {
description = "NVA public IP addresses"
value = [azurerm_public_ip.nva_pip[0].ip_address, azurerm_public_ip.nva_pip[1].ip_address]
}
output "elb_public_ip" {
description = "Public IP assigned to ELB for SSLVPN."
value = var.create_sslvpn ? data.azurerm_public_ip.elb_pip[0].ip_address : null
}
output "route_server_ips" {
# note this is not returned as a datasource yet, it may be that these are incorrect
description = "RouteServer IP addresses."
value = [cidrhost(azurerm_subnet.transit_vhub.address_prefixes[0], 4), cidrhost(azurerm_subnet.transit_vhub.address_prefixes[0], 5)]
}
output "transit_vnet_id" {
description = "Transit VNET ID."
value = azurerm_virtual_network.transit.id
}
output "transit_vnet_name" {
description = "Transit VNET name."
value = azurerm_virtual_network.transit.name
}
output "external_subnet_prefix" {
description = "Transit VNET external subnet prefix."
value = azurerm_subnet.transit_external.address_prefixes[0]
}
output "internal_subnet_prefix" {
description = "Transit VNET internal subnet prefix."
value = azurerm_subnet.transit_internal.address_prefixes[0]
}
output "rsg_name" {
description = "Name of created resource group."
value = azurerm_resource_group.rsg.name
}
output "resource_group" {
value = azurerm_resource_group.rsg
}
output "external_interfaces" {
value = azurerm_network_interface.nva_vm_external
}
output "internal_interfaces" {
value = azurerm_network_interface.nva_vm_internal
}