-
Notifications
You must be signed in to change notification settings - Fork 0
/
varaibles.tf
184 lines (153 loc) · 3.5 KB
/
varaibles.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
#Region
variable "region-name" {
description = "Region"
}
#VPC
variable "vpc-cidr-block" {
description = "CIDR Block for VPC"
}
#NAT GATEWAY
variable "nat-gw-name" {
description = "NAT Gateway"
}
variable "vpc-name" {
description = "Name for Virtual Private Cloud"
}
#INTERNET GATEWAY
variable "internet_gateway_name" {
description = "Name for internet gatway"
}
#APP SUBNETS
variable "app-subnet1-cidr" {
description = "Name for APP SUBNET1 CIDR BLOCK"
}
variable "az-1" {
description = "Name for AZ 1"
}
variable "app-subnet1-name" {
description = "Name for app subnet1"
}
variable "app-subnet2-cidr" {
description = "Name for APP SUBNET1 CIDR BLOCK"
}
variable "az-2" {
description = "Name for AZ 1"
}
variable "app-subnet2-name" {
description = "Name for app subnet1"
}
#WEB SUBNETS
variable "web-subnet1-cidr" {
description = "Name for WEB SUBNET1 CIDR BLOCK"
}
variable "web-subnet1-name" {
description = "Name for web subnet1"
}
variable "web-subnet2-cidr" {
description = "Name for WEB SUBNET2 CIDR BLOCK"
}
variable "web-subnet2-name" {
description = "Name for web subnet2"
}
#DATABASE Subnets
variable "db-subnet1-cidr" {
description = "Name for DB SUBNET1 CIDR BLOCK"
}
variable "db-subnet1-name" {
description = "Name for DB subnet1"
}
variable "db-subnet2-cidr" {
description = "Name for DB SUBNET2 CIDR BLOCK"
}
variable "db-subnet2-name" {
description = "Name for DB subnet2"
}
#Database subnet group
variable "db-subnet-grp-name" {
description = "Database subnet group"
}
#Database Security group
variable "db-sg-name" {
description = "Database Security group"
}
# alb sg & app name
variable "alb-app-name" {
description = "Name for alb app name"
}
variable "alb-sg-app-name" {
description = "Name for alb sg app name"
}
#alb sg & web name
variable "alb-web-name" {
description = "Name for alb web name"
}
variable "alb-sg-web-name" {
description = "Name for alb web sg name"
}
#ALB app Target group
variable "tg-app-name" {
description = "Name for ALB app Target group"
}
# ASG App name
variable "asg-app-name" {
description = "Name for asg app name"
}
#ASG web namae
variable "asg-web-name" {
description = "Name for asg WEB name"
}
#ASG WEB Target group
variable "tg-web-name" {
description = "Name for ALB WEB Target group"
}
#ASG Security Group APP & WEB
variable "asg-sg-app-name" {
description = "ASG APP Security Group"
}
variable "asg-sg-web-name" {
description = "ASG WEB Security Group"
}
# launch template App name
variable "launch-template-app-name" {
description = "Name for launch template app name"
}
variable "image-id" {
description = "Name for image ID"
}
variable "instance-type" {
description = "Name for instance-type"
}
variable "key-name" {
description = "Name for key name"
}
variable "app-instance-name" {
description = "Name for launch template APP instance name"
}
#launch template WEB instance name
variable "launch-template-web-name" {
description = "Name for launch template web name"
}
variable "web-instance-name" {
description = "Name for launch template web instance name"
}
#RDS Database username
variable "db-name" {
description = "Database Name"
}
variable "instance-class" {
description = "Database instance class"
}
variable "db-username" {
description = "Database Username"
}
variable "db-password" {
description = "Database Password"
}
#Public route table
variable "public-rt-name" {
description = "Public route table"
}
#Private route table
variable "private-rt-name" {
description = "Private route table"
}