-
Notifications
You must be signed in to change notification settings - Fork 0
/
folders.tf
35 lines (30 loc) · 1 KB
/
folders.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
resource vsphere_folder parent {
path = var.parent_folder
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource vsphere_folder kubeone {
path = "${vsphere_folder.parent.path}/kubeone"
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource vsphere_folder kubeone_control_plane {
path = "${vsphere_folder.kubeone.path}/control-plane"
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource vsphere_folder kubeone_workers {
path = "${vsphere_folder.kubeone.path}/workers"
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource vsphere_folder kubermatic {
path = "${vsphere_folder.parent.path}/kubermatic"
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource vsphere_folder kubermatic_clusters {
path = "${vsphere_folder.kubermatic.path}/clusters"
type = "vm"
datacenter_id = data.vsphere_datacenter.dc.id
}