-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
34 lines (28 loc) · 1.13 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
output "azurerm_lb_backend_address_pool_id" {
description = "the id for the azurerm_lb_backend_address_pool resource"
value = azurerm_lb_backend_address_pool.load-balancer.id
}
output "azurerm_lb_frontend_ip_configuration" {
description = "the frontend_ip_configuration for the azurerm_lb resource"
value = azurerm_lb.load-balancer.frontend_ip_configuration
}
output "azurerm_lb_id" {
description = "the id for the azurerm_lb resource"
value = azurerm_lb.load-balancer.id
}
output "azurerm_lb_nat_rule_ids" {
description = "the ids for the azurerm_lb_nat_rule resources"
value = try(azurerm_lb_nat_rule.load-balancer[*].id, null)
}
output "azurerm_lb_probe_ids" {
description = "the ids for the azurerm_lb_probe resources"
value = try(azurerm_lb_probe.load-balancer[*].id, null)
}
output "azurerm_public_ip_address" {
description = "the ip address for the azurerm_lb_public_ip resource"
value = try(azurerm_public_ip.default[0].ip_address, null)
}
output "azurerm_public_ip_id" {
description = "the id for the azurerm_lb_public_ip resource"
value = azurerm_public_ip.default[0].id
}