-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
86 lines (66 loc) · 1.97 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
# vCenter connection
variable "vsphere_user" {
description = "vSphere user name"
}
variable "vsphere_password" {
description = "vSphere password"
}
variable "vsphere_vcenter" {
description = "vCenter server FQDN or IP"
}
variable "vsphere_unverified_ssl" {
description = "Is the vCenter using a self signed certificate (true/false)"
}
# VM specifications
variable "vsphere_datacenter" {
description = "In which datacenter the VM will be deployed"
}
variable "vsphere_vm_name" {
description = "What is the name of the VM"
}
variable "vsphere_vm_template" {
description = "Where is the VM template located"
}
variable "vsphere_cluster" {
description = "In which cluster the VM will be deployed"
}
variable "vsphere_vcpu_number" {
description = "How many vCPU will be assigned to the VM (default: 1)"
default = "1"
}
variable "vsphere_memory_size" {
description = "How much RAM will be assigned to the VM (default: 1024)"
default = "1024"
}
variable "vsphere_datastore_cluster" {
description = "What is the name of the VM datastore cluster"
}
variable "vsphere_port_group" {
description = "In which port group the VM NIC will be configured (default: VM Network)"
default = "VM Network"
}
variable "vsphere_scsi_type" {
description = "Which scsi controller bus type to use for the VM"
default = "pvscsi"
}
variable "vsphere_ipv4_address" {
description = "What is the IPv4 address of the VM"
}
variable "vsphere_ipv4_netmask" {
description = "What is the IPv4 netmask of the VM (default: 24)"
default = "24"
}
variable "vsphere_ipv4_gateway" {
description = "What is the IPv4 gateway of the VM"
}
variable "vsphere_dns_servers" {
description = "What are the DNS servers of the VM (default: 8.8.8.8,5.5.5.5)"
default = "8.8.8.8,5.5.5.5"
}
variable "vsphere_domain" {
description = "What is the domain of the VM"
}
variable "vsphere_time_zone" {
description = "What is the timezone of the VM (default: UTC)"
default = "UTC"
}