outputs.tf (26 lines of code) (raw):

output "name" { description = "The resource name of the virtual network." value = azapi_resource.vnet.name } output "peerings" { description = <<DESCRIPTION Information about the peerings created in the module. Please refer to the peering module documentation for details of the outputs DESCRIPTION value = module.peering } output "resource" { description = "The Azure Virtual Network resource. This will be null if an existing vnet is supplied." value = azapi_resource.vnet } output "resource_id" { description = "The resource ID of the virtual network." value = azapi_resource.vnet.id } output "subnets" { description = <<DESCRIPTION Information about the subnets created in the module. Please refer to the subnet module documentation for details of the outputs. DESCRIPTION value = module.subnet }