-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
37 lines (29 loc) · 775 Bytes
/
main.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
30
31
32
33
34
35
module "network" {
source = "./module"
#source = "github.com/ahmutysj3/trace-azure-tf"
network_name = var.network_name
supernet = var.supernet
vnet_params = var.vnet_params
subnet_params = var.subnet_params
flow_logs_enable = var.flow_logs_enable
location = var.location
resource_group_name = var.resource_group_name
}
output "vnets" {
value = module.network.vnets
}
output "hub_peering" {
value = module.network.hub_peering
}
output "spokes_peering" {
value = module.network.spokes_peering
}
output "subnets" {
value = module.network.subnets
}
output "hub_route_tables" {
value = module.network.hub_route_tables
}
output "spokes_route_tables" {
value = module.network.spokes_route_tables
}