-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathvariables.tf
104 lines (85 loc) · 2.49 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#===========================#
# VMware vCenter connection #
#===========================#
variable "vsphere-user" {
type = string
description = "VMware vSphere user name"
}
variable "vsphere-password" {
type = string
description = "VMware vSphere password"
}
variable "vsphere-vcenter" {
type = string
description = "VMWare vCenter server FQDN / IP"
}
variable "vsphere-unverified-ssl" {
type = string
description = "Is the VMware vCenter using a self signed certificate (true/false)"
}
variable "vsphere-datacenter" {
type = string
description = "VMWare vSphere datacenter"
}
variable "vsphere-cluster" {
type = string
description = "VMWare vSphere cluster"
default = ""
}
variable "vsphere-template-folder" {
type = string
description = "Template folder"
default = "Templates"
}
#================================#
# VMware vSphere virtual machine #
#================================#
variable "vm-count" {
type = string
description = "Number of VM"
default = 1
}
variable "vm-name-prefix" {
type = string
description = "Name of VM prefix"
default = "playtftest"
}
variable "vm-datastore" {
type = string
description = "Datastore used for the vSphere virtual machines"
}
variable "vm-network" {
type = string
description = "Network used for the vSphere virtual machines"
}
variable "vm-linked-clone" {
type = string
description = "Use linked clone to create the vSphere virtual machine from the template (true/false). If you would like to use the linked clone feature, your template need to have one and only one snapshot"
default = "false"
}
variable "vm-cpu" {
type = string
description = "Number of vCPU for the vSphere virtual machines"
default = "2"
}
variable "vm-ram" {
type = string
description = "Amount of RAM for the vSphere virtual machines (example: 2048)"
}
variable "vm-name" {
type = string
description = "The name of the vSphere virtual machines and the hostname of the machine"
}
variable "vm-guest-id" {
type = string
description = "The ID of virtual machines operating system"
}
variable "vm-template-name" {
type = string
description = "The template to clone to create the VM"
}
variable "vm-domain" {
type = string
description = "Linux virtual machine domain name for the machine. This, along with host_name, make up the FQDN of the virtual machine"
default = ""
}