-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
executable file
·83 lines (70 loc) · 2.03 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
# ========================================================= #
# #
# Mandatory variables #
# #
# ========================================================= #
variable "image_id" {
description = "Image ID. See README."
type = string
default = null
}
variable "name" {
description = "Name of the instance."
type = string
default = null
}
variable "type" {
description = "Instance SKU (DEV1-S, GP1-S...)"
type = string
default = null
}
# ========================================================= #
# #
# Optionnal variables #
# #
# ========================================================= #
variable "additional_volume_ids" {
description = "Data disks to attach."
type = list(string)
default = null
}
variable "cloud_init" {
description = "Cloud init to provision the instance with."
type = string
default = null
}
variable "enable_ipv6" {
description = "Enable IPv6 address."
type = bool
default = false
}
variable "enable_public_ip" {
description = "Provision and enable a Public IP."
type = bool
default = true
}
variable "nb_instances" {
description = "Number of instances."
type = number
default = 1
}
variable "placement_group_id" {
description = "Placement group ID."
type = string
default = null
}
variable "private_network_id" {
description = "VPC ID."
type = string
default = ""
}
variable "security_group_id" {
description = "Security group ID."
type = string
default = null
}
variable "tags" {
description = "A list of tags to add."
type = list(string)
default = null
}