-
Notifications
You must be signed in to change notification settings - Fork 50
/
variables.tf
66 lines (57 loc) · 1.17 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
variable "env" {
type = string
}
##VPC
variable "vpc_conf" {
type = map(any)
default = {}
}
variable "region" {
description = "The AWS region where resources will be created."
type = string
}
variable "public_subnets" {
description = "A map of public subnet CIDR blocks keyed by their respective availability zones."
type = map(string)
}
variable "private_subnets" {
description = "A map of private subnet CIDR blocks keyed by their respective availability zones."
type = map(string)
}
variable "instance_type" {
description = "The EC2 instance type for the Auto Scaling Group."
type = string
}
variable "ami_id" {
description = "The AMI ID to be used for the EC2 instances."
type = string
}
#alb
variable "alb_sg_ingress_rules" {
type = any
default = {}
}
variable "alb_sg_egress_rules" {
type = any
default = {}
}
#ec2
variable "ec2_sg_ingress_rules" {
type = any
default = {}
}
variable "ec2_sg_egress_rules" {
type = any
default = {}
}
variable "rds_conf" {
type = any
default = {}
}
#rds
variable "rds_sg_ingress_rules" {
type = any
}
variable "rds_sg_egress_rules" {
type = any
}