-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
63 lines (50 loc) · 1.21 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
variable "name" {
description = "Name prefix of the VMs"
}
variable "num" {
description = "How many instances should be created"
default = "1"
}
variable "group_name" {
description = "Name of the group to deploy the VM"
}
variable "cpus" {
description = "Number of CPUs to configure on the VM"
default = "1"
}
variable "vcpus" {
description = "Number of virtual CPUs to configure on the VM"
default = "1"
}
variable "memory" {
description = "Ram to configure on the VM"
default = "1024"
}
variable "ssh_key" {
description = "Initial ssh key to inject on the VM"
}
variable "security_groups" {
description = "List of the security group IDs to use"
}
variable "ip" {
description = "IP to use on the VM first nic"
default = ""
}
variable "image_id" {
description = "ID of the image to use"
}
variable "network_id" {
description = "ID of the network top use"
}
variable "second_nic" {
description = "Boolean to attach a second nic. Needed for jump hosts or proxys."
default = false
}
variable "second_nic_net" {
description = "Secondary nic network ID"
default = ""
}
variable "second_nic_sgs" {
description = "Secondary nic security groups"
default = []
}