-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
65 lines (55 loc) Β· 1.51 KB
/
variables.tf
File metadata and controls
65 lines (55 loc) Β· 1.51 KB
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
variable "aws_region" {
description = "value for the resource region"
}
# ====================== VPC Variables ======================
variable "vpc_cidr_block" {
description = "CIDR block for the VPC"
}
variable "cidr_block_route_table" {
description = "CIDR block for the route table"
}
variable "subnets" {
description = "block for all the subnets table"
}
# ====================== ec2 Variables ======================
variable "aws_instance" {
description = "value for the resource instance"
}
variable "key_value" {
description = "value KeyPair"
}
variable "ami_value" {
description = "value for the ami"
}
variable "user_data_scripts" {
description = "List of user data scripts for the instances"
}
# ====================== Loadbalancer Variables ======================
variable "lb_name" {
description = "Name of the load balancer"
}
variable "target_group_name" {
description = "Name of the target group"
}
variable "target_group_port" {
description = "Port for the target group"
}
variable "target_group_protocol" {
description = "Protocol for the target group"
}
variable "health_check_path" {
description = "Health check path"
}
variable "health_check_port" {
description = "Health check port"
}
variable "listener_port" {
description = "Port for the listener"
}
variable "listener_protocol" {
description = "Protocol for the listener"
}
# ====================== s3 Variables ======================
variable "s3_bucket_name" {
description = "List of user data scripts for the instances"
}