-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
39 lines (32 loc) · 1.06 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
variable "project" {
type = string
}
variable "env" {
type = string
}
variable "name" {
type = string
}
variable "vpc_id" {
type = string
}
variable "ingress_port_sg_targets" {
type = list(object({ port : number, protocol : string, security_group_id : string }))
description = "Ingress single port rule for security group target"
default = []
}
variable "ingress_port_cidr_targets" {
type = list(object({ port : number, protocol : string, cidr_blocks : list(string) }))
description = "Ingress single port rule for CIDR block target"
default = []
}
variable "ingress_range_sg_targets" {
type = list(object({ from_port : number, to_port : number, protocol : string, security_group_id : string }))
description = "Ingress port range rule for security group target"
default = []
}
variable "ingress_range_cidr_targets" {
type = list(object({ from_port : number, to_port : number, protocol : string, cidr_blocks : list(string) }))
description = "Ingress port range rule for CIDR block target"
default = []
}