-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathoutputs.tf
More file actions
50 lines (41 loc) · 1.54 KB
/
Copy pathoutputs.tf
File metadata and controls
50 lines (41 loc) · 1.54 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
output "id" {
value = azurerm_virtual_network.vnet.id
description = "The virtual network configuration ID."
}
output "guid" {
value = azurerm_virtual_network.vnet.guid
description = "The GUID of the virtual network."
}
output "name" {
value = azurerm_virtual_network.vnet.name
description = "The name of the virtual network."
}
output "resource_group_name" {
value = azurerm_virtual_network.vnet.resource_group_name
description = "The name of the resource group in which to create the virtual network."
}
output "location" {
value = azurerm_virtual_network.vnet.location
description = "The location/region where the virtual network is created."
}
output "tags" {
value = azurerm_virtual_network.vnet.tags
description = "The tags assigned to the resource."
}
output "address_space" {
value = azurerm_virtual_network.vnet.address_space
description = "The list of address spaces used by the virtual network."
}
output "dns_servers" {
value = azurerm_virtual_network.vnet.dns_servers
description = "The list of DNS servers used by the virtual network."
}
output "ddos_protection_plan" {
value = azurerm_virtual_network.vnet.ddos_protection_plan
description = "Block containing configuration of ddos protection plan."
}
output "subnets" {
value = { for subnet in azurerm_subnet.subnets : subnet.name => subnet }
description = "Blocks containing configuration of each subnet."
# module.MODULE_NAME.subnets["SUBNET_NAME"].id
}