-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.auto.tfvars
48 lines (46 loc) · 1.13 KB
/
main.auto.tfvars
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
shared_prefix = "terraform-getting-started"
vpc_cidr = "10.0.0.0/16"
ec2_sg = {
public = {
name = "public-ec2-sg"
vpc_ingress = [{
description = "http ingress from internet"
protocol = "tcp"
from_port = 80
to_port = 80
cidr_blocks = ["0.0.0.0/0"]
},{
description = "ssh ingress from the internet"
protocol = "tcp"
from_port = 22
to_port = 22
cidr_blocks = ["0.0.0.0/0"]
}]
vpc_egress = [{
description = "general egress"
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}]
}
private = {
name = "private-ec2-sg"
sg_ingress = {
http ={
description = "http ingress from public ec2"
protocol = "tcp"
from_port = 80
to_port = 80
source_security_group_id = null # Will be set on runtime
}
}
vpc_egress = [{
description = "general egress"
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}]
}
}