-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
336 lines (271 loc) · 8.09 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
# *budget.tf*
# Slack 알람 웹훅 URL (채널 URL)
variable "slack_webhook_url" {
description = "Slack 웹훅 URL"
}
# "ec2_sg.tf"
variable "web_ingress_from_port_sk" {
description = "웹 보안 그룹의 인바운드 규칙 시작 포트_SKB 인터넷 전용 포트"
type = number
}
variable "web_ingress_to_port_sk" {
description = "웹 보안 그룹의 인바운드 규칙 종료 포트_SKB 인터넷 전용 포트"
type = number
}
variable "web_ingress_from_port" {
description = "웹 보안 그룹의 인바운드 규칙 시작 포트"
type = number
}
variable "web_ingress_to_port" {
description = "웹 보안 그룹의 인바운드 규칙 종료 포트"
type = number
}
variable "web_ingress_http_from_port" {
description = "웹 보안 그룹 인바운드 http 포트"
type = number
}
variable "web_ingress_http_to_port" {
description = "웹 보안 그룹 인바운드 http 포트"
type = number
}
variable "was_ingress_from_port" {
description = "WAS 보안 그룹의 인바운드 규칙 시작 포트"
type = number
}
variable "was_ingress_to_port" {
description = "WAS 보안 그룹의 인바운드 규칙 종료 포트"
type = number
}
variable "Jenkins_ingress_from_port" {
description = "Jenkins 시작 포트"
type = number
}
variable "Jenkins_ingress_to_port" {
description = "Jenkins 종료 포트"
type = number
}
# "ec2.tf"
# WEB EC2 인스턴스 변수
variable "web_instance_ami" {
description = "Web EC2 인스턴스에 대한 AMI ID"
type = string
}
variable "web_instance_type" {
description = "Web EC2 인스턴스의 인스턴스 유형"
type = string
}
variable "web_instance_key_name" {
description = "Web EC2 인스턴스에 액세스하기 위한 키 이름"
type = string
}
variable "web_instance_name" {
description = "Web EC2 인스턴스 Tags Name"
type = string
}
# WAS EC2 인스턴스 변수
variable "was_instance_ami" {
description = "WAS EC2 인스턴스에 대한 AMI ID"
type = string
}
variable "was_instance_type" {
description = "WAS EC2 인스턴스의 인스턴스 유형"
type = string
}
variable "was_instance_key_name" {
description = "WAS EC2 인스턴스에 액세스하기 위한 키 이름"
type = string
}
variable "was_instance_name" {
description = "Was EC2 인스턴스 Tags Name"
type = string
}
# WEB Instance Elastic IP 변수
variable "web_eip_name" {
description = "Web 인스턴스 엘라스틱 IP Tags Name"
type = string
}
# Jenkins Server 변수
variable "jenkins_instance_ami" {
description = "Jenkins Server AMI"
type = string
}
variable "jenkins_instance_type" {
description = "Jenkins Server 유형"
type = string
}
variable "jenkins_instance_key_name" {
description = "Jenkins Server 키페어"
type = string
}
variable "jenkins_instance_name" {
description = "Jenkins Server Tags"
type = string
}
# "nat.tf"
# EIP (Elastic IP) 변수
variable "eip_domain" {
description = "EIP의 도메인 설정 (기본적으로 'vpc' 사용)"
type = string
}
# NAT Gateway 변수
variable "nat_subnet_id" {
description = "NAT 게이트웨이가 속한 서브넷의 ID"
type = string
}
# "provider.tf"
# 리전 설정 변수
variable "region" {
description = "테라폼에서 사용할 AWS 리전"
type = string
}
# 테라폼 버전 설정 변수
variable "terraform_version" {
description = "사용할 테라폼 버전"
type = string
}
# "rds_sg.tf"
variable "rds_sg_name" {
description = "RDS 보안 그룹의 이름"
type = string
}
variable "rds_sg_description" {
description = "RDS 보안 그룹의 설명"
type = string
}
variable "rds_sg_ingress_port" {
description = "RDS 보안 그룹의 인바운드 포트"
type = number
}
variable "rds_sg_ingress_protocol" {
description = "RDS 보안 그룹의 인바운드 프로토콜"
type = string
}
# "rds_sub_group.tf"
variable "rds_subnet_group_name" {
description = "RDS 서브넷 그룹의 이름"
type = string
}
# "rds.tf"
# RDS Parameter Group 설정 변수
variable "rds_parameter_group_name" {
description = "RDS 파라미터 그룹의 이름"
type = string
}
variable "rds_parameter_family" {
description = "RDS 파라미터 그룹의 엔진 패밀리"
type = string
}
variable "rds_parameter_character_set_server" {
description = "RDS 파라미터 그룹의 character_set_server 설정 값"
type = string
}
# RDS Instance 설정 변수
variable "rds_instance_identifier" {
description = "RDS 인스턴스의 식별자"
type = string
}
variable "rds_instance_engine" {
description = "RDS 인스턴스의 엔진"
type = string
}
variable "rds_instance_engine_version" {
description = "RDS 인스턴스의 엔진 버전"
type = string
}
variable "rds_instance_class" {
description = "RDS 인스턴스의 클래스"
type = string
}
variable "rds_instance_allocated_storage" {
description = "RDS 인스턴스의 할당된 스토리지 크기 (GB)"
type = number
}
variable "rds_instance_storage_type" {
description = "RDS 인스턴스의 스토리지 유형"
type = string
}
variable "rds_instance_storage_encrypted" {
description = "RDS 인스턴스의 스토리지 암호화 여부"
type = bool
}
variable "rds_instance_username" {
description = "RDS 인스턴스의 사용자 이름"
type = string
}
variable "rds_instance_password" {
description = "RDS 인스턴스의 비밀번호"
type = string
}
variable "rds_instance_skip_final_snapshot" {
description = "RDS 인스턴스 종료 시 최종 스냅샷 생성 여부"
type = bool
}
variable "rds_instance_multi_az" {
description = "RDS 인스턴스의 다중 가용 영역 여부"
type = bool
}
variable "rds_instance_publicly_accessible" {
description = "RDS 인스턴스의 공개적 접근 허용 여부"
type = bool
}
variable "rds_instance_allow_major_version_upgrade" {
description = "RDS 인스턴스의 주요 버전 업그레이드 허용 여부"
type = bool
}
variable "rds_instance_auto_minor_version_upgrade" {
description = "RDS 인스턴스의 자동 부 버전 업그레이드 활성화 여부"
type = bool
}
variable "rds_instance_apply_immediately" {
description = "RDS 인스턴스의 변경 사항 즉시 적용 여부"
type = bool
}
variable "rds_instance_maintenance_window" {
description = "RDS 인스턴스의 유지 보수 창"
type = string
}
variable "rds_instance_backup_window" {
description = "RDS 인스턴스의 백업 창"
type = string
}
variable "rds_instance_backup_retention_period" {
description = "RDS 인스턴스의 데이터 백업 보존 기간"
type = number
}
# "route.tf"
# Public Route Table 변수 설정
variable "pub_route_table_name" {
description = "Public Route Table의 이름"
type = string
}
variable "pub_route_cidr_block" {
description = "Public Route Table의 대상 CIDR 블록"
type = string
}
# Private Route Table 변수 설정
variable "pri_route_table_name" {
description = "Private Route Table의 이름"
type = string
}
variable "pri_route_cidr_block" {
description = "Private Route Table의 대상 CIDR 블록"
type = string
}
# RDS Route Table 변수 설정
variable "rds_route_table_name" {
description = "RDS Route Table의 이름"
type = string
}
# "budget.tf"
variable "budget_limit_amount" {
description = "EC2 월별 예산 USD"
type = number
}
variable "budget_email_address" {
description = "EC2 월별 예산 알림 이메일 주소"
type = string
}
variable "budget_subscription_type" {
description = "budget 알림 구독 타입"
type = string
}