forked from raykrist/tf-nrec-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
92 lines (68 loc) · 1.32 KB
/
variables.tf
File metadata and controls
92 lines (68 loc) · 1.32 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
# Variables
variable "region" {}
variable "name" {}
variable "allow_ssh_from_v6" {
type = list(string)
default = []
}
variable "allow_ssh_from_v4" {
type = list(string)
default = []
}
variable "allow_icmp_from_v6" {
type = list(string)
default = ["::/0"]
}
variable "allow_icmp_from_v4" {
type = list(string)
default = ["0.0.0.0/0"]
}
variable "sec_group" {
type = list(string)
default = []
}
variable "server_group" {
type = list(string)
default = []
}
variable "ssh_public_key" {}
variable "ssh_port" { default = 22 }
variable "node_count" { default = 1 }
variable "image_id" { default = "" }
variable "image_name" { default = "GOLD CentOS 7" }
variable "node_name" {
default = "node"
}
variable "node_name_offset" { default = 0 }
variable "volume_name" {
default = "vol"
}
variable "network" {
default = "IPv6"
}
variable "az" {
default = "default-1"
}
variable "flavor" {
default = "m1.medium"
}
variable "zone_name" {
description = "Only set this if you have a designate zone and want hostname A and AAAA records"
default = null
}
variable "domain" {
default = "local"
}
variable "metadata" {
type = map(any)
default = {}
}
variable "volume_size" {
default = 5
}
variable "volume_type" {
default = "rbd"
}
variable "image_user" {
default = "centos"
}