added terraform for create a virtual network with two subnets quickstart in virtual network docset

This commit is contained in:
asudbring
2024-01-18 22:40:47 -08:00
committed by lonegunmanb
parent 4e87d80177
commit 8060a92890
5 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,19 @@
output "resource_group_name" {
description = "The name of the created resource group."
value = azurerm_resource_group.rg.name
}
output "virtual_network_name" {
description = "The name of the created virtual network."
value = azurerm_virtual_network.my_terraform_network.name
}
output "subnet_name_1" {
description = "The name of the created subnet 1."
value = azurerm_subnet.my_terraform_subnet_1.name
}
output "subnet_name_2" {
description = "The name of the created subnet 2."
value = azurerm_subnet.my_terraform_subnet_2.name
}