-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
41 lines (37 loc) · 878 Bytes
/
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
variable "region" {
default = "us-east-1"
}
variable "environment" {
default = "dev"
}
variable "vpc_cidr" {
default = "18.0.0.0/16"
}
variable "public_subnet_cidr" {
default = ["18.0.0.0/24","18.0.2.0/24"] ##,"18.0.2.0/24"
}
variable "private_subnet_cidr" {
default = ["18.0.10.0/24","18.0.11.0/24"] ##,"18.0.11.0/24"
}
variable "security_group_open_port" {
default = [22, 22]
}
variable "security_group_allow_ip" {
default = ["180.0.0.0/32"]
}
variable "public_instance_count" {
default = 1
}
variable "private_instance_count" {
default = 0
}
variable "instance_type" {
default = "t2.micro"
}
variable "jenkins_instance_type"{
default = "t2.medium"
}
variable "instance_ami" {
# default = "ami-026b57f3c383c2eec" ## amazon linux
default = "ami-0c1704bac156af62c" ## Ubuntu
}