Skip to content

Commit 89af4a0

Browse files
author
Arun Lal
committed
[TEC-75] Introduced egress variables.
1 parent 6c42d1a commit 89af4a0

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

vars/dev/ec2.tfvars

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
1-
# ec2 instance vars
2-
region = "eu-north-1"
3-
instance_name = "Instance"
4-
ami_id = "ami-0989fb15ce71ba39e"
5-
instance_type = "t3.micro"
6-
key_name = "techiescamp"
7-
instance_count = 1
8-
subnet_ids = ["subnet-07fab58fa9620dfb9", "subnet-051fbcbaa925b8c44", "subnet-0c46e29a23c5ba3b8"]
1+
# EC2 Instance Variables
2+
region = "eu-north-1"
3+
instance_name = "Instance"
4+
ami_id = "ami-0989fb15ce71ba39e"
5+
instance_type = "t3.micro"
6+
key_name = "techiescamp"
7+
instance_count = 1
8+
subnet_ids = ["subnet-07fab58fa9620dfb9",
9+
"subnet-051fbcbaa925b8c44",
10+
"subnet-0c46e29a23c5ba3b8"]
911

10-
# ec2_sg vars
11-
sg_name = "Instance_sg"
12-
from_port = [22, 80]
13-
to_port = [22, 80]
14-
protocol = ["tcp", "tcp"]
15-
cidr_block = ["0.0.0.0/0"]
12+
# EC2 Security Group Variables
13+
sg_name = "Instance_sg"
14+
vpc_id = "vpc-07d73d0c9081754d0"
15+
ingress_from_port = [22, 80]
16+
ingress_to_port = [22, 80]
17+
ingress_protocol = ["tcp", "tcp"]
18+
ingress_cidr_block = ["0.0.0.0/0"]
19+
egress_from_port = [0]
20+
egress_to_port = [0]
21+
egress_protocol = ["-1"]
22+
egress_cidr_block = ["0.0.0.0/0"]
23+
24+
# Tag Keys
25+
name = "Instance"
26+
owner = "Techiescamp"
27+
environment = ["dev"]
28+
cost_center = "project"
29+
application = "web-app"
1630

17-
# Tag keys
18-
name = "Instance"
19-
owner = "Techiescamp"
20-
environment = ["dev"]
21-
cost_center = "project"
22-
application = "web-app"

0 commit comments

Comments
 (0)