File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
3_networking/load-balancer Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments