-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
59 lines (48 loc) · 1.08 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
variable "AWS_Region" {
type = string
description = "region where vpn is configured"
}
variable "aws_access_key" {
type = string
description = "Access key of AWS account"
}
variable "aws_secret_key" {
type = string
description = "secret key of AWS account"
}
variable "EC2_Instance_Type" {
type = string
description = "AWS instance type"
}
variable "VPC_CIDR" {
type = string
description = "vpc cidr"
}
variable "Public_Subnet_CIDR" {
type = string
description = "public subnet cidr"
}
variable "Private_Subnet_CIDR" {
type = string
description = "private subnet cidr"
}
variable "project" {
type = string
description = "project name"
}
variable "public_sg_ports" {
type = list(number)
default = [8080, 80, 22]
}
variable "private_sg_ports" {
type = list(number)
default = [22]
}
variable "Private_Instance_Count" {
type = number
description = "count of private instances"
}
variable "Public_Instance_Count" {
type = number
description = "count of public instances"
}