-
Notifications
You must be signed in to change notification settings - Fork 1
/
vars.tf
51 lines (40 loc) · 824 Bytes
/
vars.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
#variable "AWS_ACCESS_KEY" {} #declaring the variables defined in terraform.tfvars
#variable "AWS_SECRET_KEY" {}
variable "AWS_REGION" {}
variable "BUCKET" {}
variable "keypair" {}
variable "myip" {}
#vpc variables
#instance variable
variable "os" {
default = "linux"
}
variable "instance_type" {
default = "t2.micro"
}
#security group variables
#s3 variables
variable "server1_userdata_key" {}
variable "server2_userdata_key" {}
#alb variables
variable "tg_port" {
default = 80
}
variable "target_type" {
default = "instance"
}
variable "tg_protocol" {
default = "HTTP"
}
variable "protocol_version" {
default = "HTTP1"
}
variable "load_balancer_type" {
default = "application"
}
variable "protocol" {
type = string
default = "tcp"
}
#route53 variables
variable "zone_name" {}