-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable.tf
63 lines (60 loc) · 1.64 KB
/
variable.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
variable "vpc_cidr" {
description = "CIDR block for the VPC"
default = "10.1.0.0/16"
}
variable "region" {
description = "region name to deploy the infra "
default = "us-east-1"
}
variable "vpc_name" {}
variable "IGW_name" {}
variable "public_cidrs" {
description = "CIDR blocks for the public subnets"
type = list(any)
default = ["10.1.10.0/24", "10.1.20.0/24"]
}
variable "azs" {
description = "availiability zones for the subnets"
type = list(any)
default = ["us-east-1a", "us-east-1b", ]
}
variable "private_cidrs" {
description = "CIDR block for the private subnets"
type = list(any)
default = ["10.1.1.0/24", "10.1.2.0/24", ]
}
variable "routing_table_public_name" {}
variable "sg_name" {
default = "allow_all_traffic"
}
variable "key_name" {}
variable "amis" {
description = "assigning the amis based on the region"
default = {
us-east-1 = "ami-08d4ac5b634553e16"
us-east-2 = ""
}
}
variable "iamusers" {
description = "list of user names to create users "
type = list(any)
default = ["Gopi", "Chand", "nallani"]
}
variable "route53zone_name" {
description = "provide the name for the route53 zone to create in the environment "
default = "trainings.gopinallani.xyz"
}
variable "aws_lb_name" {
description = "provide name for the aws alb "
default = "Bittergourd-lb"
}
variable "targetgroup_name" {
description = "provide name for the target group "
default = "Bittergourd-alb-arget-group"
}
variable "targetgroup1_name" {
description = "provide name for the target group "
default = "manual-tg"
}
variable "ingress" {}
variable "egress" {}