-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
47 lines (39 loc) · 1.04 KB
/
variables.tf
File metadata and controls
47 lines (39 loc) · 1.04 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
variable "instance_name" {
type = "string"
description = "The name (prefix) of the compute instance to create."
}
variable "instance_count" {
description = "Number of instances to launch"
default = 1
}
variable "image_name" {
type = "string"
description = "The Glance image name to use."
}
variable "flavor_name" {
type = "string"
default = "m1.tiny"
description = "The name of the flavor to use to create compute"
}
variable "keypair" {
type = "string"
description = "The name of the keypair to use"
}
variable "network_ids" {
type = list
default = []
description = "IDs of the networks to attach instance to"
}
variable "subnet_ids" {
type = list
default = []
description = "IDs of the networks subnet to attach instance to"
}
variable "security_group_name" {
type= "string"
}
variable "security_group_rules" {
type = list(map(any))
default = []
description = "The definition os security groups to associate to instance. Only one is allowed"
}