-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tf
47 lines (40 loc) · 1.07 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
terraform {
required_providers {
nsxt = {
source = "vmware/nsxt"
version = "3.2.5"
}
}
}
# NSX-T Manager Credentials
provider "nsxt" { }
module "vrf_parent" {
source = "./a-vrf-parent"
}
module "vrf_shared" {
source = "./b-vrf-shared"
parent_t0 = module.vrf_parent.parent_tier0_path.path
}
module "vrf_blue" {
source = "./c-vrf-blue"
parent_t0 = module.vrf_parent.parent_tier0_path.path
}
module "vrf_green" {
source = "./d-vrf-green"
parent_t0 = module.vrf_parent.parent_tier0_path.path
}
module "sroutes" {
source = "./e-sroutes"
shared_t0 = module.vrf_shared.shared_tier0_path.path
blue_t0 = module.vrf_blue.blue_tier0_path.path
green_t0 = module.vrf_green.green_tier0_path.path
}
module "security" {
source = "./f-security"
shared_t0 = module.vrf_shared.shared_tier0_path.path
blue_t0 = module.vrf_blue.blue_tier0_path.path
green_t0 = module.vrf_green.green_tier0_path.path
shared_t1 = module.vrf_shared.shared_tier1_path.path
blue_t1 = module.vrf_blue.blue_tier1_path.path
green_t1 = module.vrf_green.green_tier1_path.path
}