-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
88 lines (72 loc) · 1.24 KB
/
variables.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
### DCNM Variables
variable "dcnm_user" {
type = string
}
variable "dcnm_password" {
type = string
}
variable "dcnm_url" {
type = string
}
variable "dcnm_fabric" {
type = string
}
variable "dcnm_vrf" {
type = string
}
variable "vpc_interfaces" {
type = map(object({
name = string
vpc_id = number
switch1 = object({
name = string
ports = list(string)
})
switch2 = object({
name = string
ports = list(string)
})
}))
}
### vCenter Variables
variable "vcenter_user" {
type = string
}
variable "vcenter_password" {
type = string
}
variable "vcenter_server" {
type = string
}
variable "vcenter_dc" {
type = string
}
variable "vcenter_std_switch_name" {
type = string
}
### Common Variables
variable "cluster_hosts" {
type = map(object({
name = string
network_adapters = list(string)
active_nics = list(string)
standby_nics = list(string)
}))
}
variable "cluster_interfaces" {
type = map(object({
name = string
attach = bool
switch_ports = list(string)
}))
}
variable "cluster_networks" {
type = map(object({
name = string
description = string
ip_subnet = string
vni_id = number
vlan_id = number
deploy = bool
}))
}