-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
90 lines (74 loc) · 1.96 KB
/
variables.tf
File metadata and controls
90 lines (74 loc) · 1.96 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
variable "enabled" {
type = "string"
default = "1"
}
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 "availability_zone" {
type = "string"
description = "The availability zone"
}
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 "instance_security_group_name" {
type = "string"
description = "Security group to create and associate to instance"
default = ""
}
variable "instance_security_group_rules" {
type = list(map(any))
default = []
description = "The definition os security groups to associate to instance. Only one is allowed"
}
variable "security_groups_to_associate" {
type = list(string)
default = []
description = "List of existing security groups to associate to instance."
}
variable "metadata" {
description = "A map of metadata to add to all resources supporting it."
default = {}
}
variable "user_data" {
type = "string"
description = "User data to use for this instance"
default = ""
}
variable "stop_before_destroy" {
default = true
}
variable "execute_on_destroy_instance_script" {
type = "string"
default = ""
}
variable "ssh_via_bastion_config" {
description = "config map used to connect via bastion ssh"
default = {}
}