generated from blackbird-cloud/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
29 lines (24 loc) · 865 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
output "vnet_address_space" {
description = "The address space of the newly created vNet"
value = azurerm_virtual_network.vnet.address_space
}
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_ids" {
description = "The ids of subnets created inside the newly created vNet"
value = local.azurerm_subnets[*].id
}
output "vnet_subnets" {
description = "The subnets created inside the newly created vNet"
value = { for subnet in local.azurerm_subnets : subnet.name => subnet }
}