-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
82 lines (63 loc) · 1.53 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
# ---------------------------------------------------------------------------------------------------------------------
# Define variables
# ---------------------------------------------------------------------------------------------------------------------
variable "aws_region" {
type = string
}
variable "aws_profile" {
type = string
}
variable "cidr-block" {
type = string
default = "192.168.16.0/24"
}
variable "vpc-name" {
default = "web-app-infra-vpc"
type = string
}
variable "cidr-block-subnet1" {
default = "192.168.16.0/26"
}
variable "cidr-block-subnet2" {
default = "192.168.16.64/26"
}
variable "subnet-name" {
default = "web-app-infra-Subnet"
}
variable "igw-name" {
default = "web-app-infra-IGW"
}
variable "cidr-block-rt" {
default = "0.0.0.0/0"
}
variable "rt-name" {
default = "web-app-infra-RT"
}
variable "sg-name" {
default = "web-app-infra-SG"
}
variable "sg-desc" {
default = "Allow HTTP, SSH, ingress_haproxy_exporter_web, haproxy_frontend_stats, grafana, node-explorer inbound and outbound traffic"
}
variable "key-name" {
default = "web-app-infra-terraform-key"
}
variable "pub-key" {
# paste public key here
default = ""
}
variable "intance-type" {
default = "t2.micro"
}
variable "instance-name" {
default = "web-app-infra"
}
variable "load-balancer-name" {
default = "web-app-infra-lb"
}
variable "load-balancer-target-group-name" {
default = "web-app-infra-lb-target"
}
variable "ami-id" {
default = "ami-05f7491af5eef733a"
}