Skip to content

Commit 643dbda

Browse files
authored
+ outputs.tf
1 parent 3c8bd76 commit 643dbda

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# outputs.tf
2+
# This file defines the outputs of the Terraform configuration.
3+
4+
output "resource_group_name" {
5+
description = "The name of the resource group"
6+
value = azurerm_resource_group.agw.name
7+
}
8+
9+
output "application_gateway_id" {
10+
description = "The ID of the Application Gateway"
11+
value = azurerm_application_gateway.agw.id
12+
}
13+
14+
output "application_gateway_frontend_ip" {
15+
description = "The frontend public IP address of the Application Gateway"
16+
value = azurerm_public_ip.agw.ip_address
17+
}
18+
19+
output "virtual_network_name" {
20+
description = "The name of the virtual network"
21+
value = azurerm_virtual_network.vnet.name
22+
}
23+
24+
output "subnet_name" {
25+
description = "The name of the subnet used by the Application Gateway"
26+
value = azurerm_subnet.subnet.name
27+
}

0 commit comments

Comments
 (0)