зеркало из
1
0
Форкнуть 0
terraform-azurerm-vnet/outputs.tf

35 строки
1015 B
HCL

output "vnet_address_space" {
description = "The address space of the newly created vNet"
value = azurerm_virtual_network.vnet.address_space
}
output "vnet_guid" {
description = "The GUID of the newly created vNet"
value = azurerm_virtual_network.vnet.guid
}
output "vnet_id" {
description = "The id of the newly created vNet"
value = azurerm_virtual_network.vnet.id
}
output "vnet_location" {
description = "The location of the newly created vNet"
value = azurerm_virtual_network.vnet.location
}
output "vnet_name" {
description = "The Name of the newly created vNet"
value = azurerm_virtual_network.vnet.name
}
output "vnet_subnets" {
description = "The ids of subnets created inside the newly created vNet"
value = local.azurerm_subnets[*].id
}
output "vnet_subnets_name_id" {
description = "Can be queried subnet-id by subnet name by using lookup(module.vnet.vnet_subnets_name_id, subnet1)"
value = local.azurerm_subnets_name_id_map
}