-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
99 lines (83 loc) · 2.27 KB
/
variables.tf
File metadata and controls
99 lines (83 loc) · 2.27 KB
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
variable "name" {
description = "Name to be used on all the resources as identifier"
type = string
}
variable "customer" {
description = "Customer for the current deployment"
type = string
default = ""
}
variable "tags" {
description = "Default tags to add to resources"
type = map(any)
default = {}
}
# bellow are specific modules variables
variable "region" {
description = "Region to use for the instance"
type = string
}
variable "image_id" {
description = "Image ID to use for the instance (default: Ubuntu 22.04 UEFI on GRA9)"
type = string
default = "b627c305-6945-47b5-8b69-c8d436f340a3" # ubuntu 22.04 UEFI on GRA9
}
variable "flavor_id" {
description = "Flavor ID to use for the instance (default: b2-7 on GRA9)"
type = string
default = "906e8259-0340-4856-95b5-4ea2d26fe377" # b2-7 on GRA9
}
variable "user_data" {
description = "User data to use for the instance"
type = string
default = ""
}
variable "availability_zone_hints" {
description = "Availability zone hints to use for the instance"
type = string
default = null
}
variable "availability_zone" {
description = "Availability zone to use for the instance"
type = string
default = "nova"
}
variable "ssh_keypair" {
description = "SSH keypair to use for the instance"
type = string
}
variable "security_groups" {
description = "Security groups to use for the instance"
type = list(string)
default = []
}
variable "networks" {
description = "Network to use for the instance"
type = list(any)
default = []
}
variable "network_mode" {
description = "Network mode to use for the instance"
type = string
default = null
}
variable "block_devices" {
description = "Block devices to use for the instance"
type = list(any)
default = []
}
variable "scheduler_hints" {
description = "Scheduler hints to use for the instance"
type = list(any)
default = []
}
variable "personalities" {
description = "Personalities to use for the instance"
type = list(any)
default = []
}
variable "vendor_options" {
description = "Vendor options to use for the instance"
type = list(any)
default = []
}