-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.tf
161 lines (135 loc) · 3.65 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
variable "name" {
description = "The specification of module name."
type = string
default = ""
}
variable "description" {
description = "The specification of module description."
type = string
default = ""
}
variable "instance_type" {
description = "The specification of the instance type."
type = string
default = ""
}
variable "availability_zone" {
description = "The available zone to launch modules."
type = string
default = ""
}
variable "vswitch_id" {
description = "VSwitch variables, if vswitch_id is empty, then the net_type = classic."
type = string
default = ""
}
variable "security_group_ids" {
description = "A list of security group ids to associate with."
type = list(string)
default = []
}
variable "system_disk_category" {
description = "The specification of the system disk category."
type = string
default = "cloud_efficiency"
}
variable "system_disk_name" {
description = "The specification of the system disk name."
type = string
default = ""
}
variable "system_disk_description" {
description = "The specification of the system disk description."
type = string
default = ""
}
variable "image_id" {
description = "The specification of the image id."
type = string
default = ""
}
variable "internet_max_bandwidth_out" {
description = "The specification of the internet max bandwidth out."
type = number
default = 10
}
variable "data_disks_name" {
description = "The name of the data disk."
type = string
default = ""
}
variable "ecs_size" {
description = "The specification of the ecs size."
type = number
default = 1200
}
variable "category" {
description = "The specification of the category."
type = string
default = "cloud_efficiency"
}
variable "encrypted" {
description = "Encrypted the data in this disk."
type = bool
default = false
}
variable "engine" {
description = "Database type."
type = string
default = "MySQL"
}
variable "engine_version" {
description = "The specification of the engine version."
type = string
default = "5.6"
}
variable "rds_instance_type" {
description = "The specification of the rds instance type."
type = string
default = ""
}
variable "instance_storage" {
description = "The specification of the instance storage."
type = string
default = "30"
}
variable "instance_charge_type" {
description = "The specification of the instance charge type."
type = string
default = "Postpaid"
}
variable "monitoring_period" {
description = "The specification of the monitoring period."
type = string
default = "60"
}
variable "security_ips" {
description = "The specification of the security ips."
type = list(string)
default = ["127.0.0.1"]
}
variable "redis_engine_version" {
description = "The specification of the redis engine version."
type = string
default = "4.0"
}
variable "redis_appendonly" {
description = "The specification of the redis appendonly."
type = string
default = "yes"
}
variable "redis_lazyfree_lazy_eviction" {
description = "The specification of the redis lazyfree-lazy-eviction."
type = string
default = "yes"
}
variable "redis_resource_group_id" {
description = "The specification of the redis resource group id."
type = string
default = ""
}
variable "redis_instance_class" {
description = "The specification of the redis resource instance class."
type = string
default = ""
}