Skip to content

Commit 202a33b

Browse files
authored
+ outputs.tf
1 parent 3c4ddde commit 202a33b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# outputs.tf
2+
# This file defines the outputs of the Terraform configuration.
3+
4+
output "resource_group_name" {
5+
value = azurerm_resource_group.lb.name
6+
}
7+
8+
output "load_balancer_id" {
9+
description = "The ID of the Load Balancer"
10+
value = azurerm_lb.lb.id
11+
}
12+
13+
output "public_ip_address" {
14+
description = "The public IP address of the Load Balancer"
15+
value = azurerm_public_ip.lb.ip_address
16+
}
17+
18+
output "backend_pool_id" {
19+
description = "The ID of the Backend Address Pool"
20+
value = azurerm_lb_backend_address_pool.lb.id
21+
}
22+
23+
output "frontend_ip_configuration_id" {
24+
description = "The ID of the Frontend IP Configuration"
25+
value = azurerm_lb.lb.frontend_ip_configuration[0].id
26+
}

0 commit comments

Comments
 (0)