Skip to content

Commit 6fbfdca

Browse files
authored
Update variables.tf
1 parent af619c9 commit 6fbfdca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

variables.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,15 @@ locals {
294294
source_security_group_id = aws_security_group.this["elk"].id
295295
security_group_id = aws_security_group.this["ec2"].id
296296
},
297+
ec2_http_in_ec2 = {
298+
type = "ingress"
299+
description = "Allow all inbound traffic from ec2 on http port"
300+
from_port = 80
301+
to_port = 80
302+
protocol = "tcp"
303+
source_security_group_id = aws_security_group.this["ec2"].id
304+
security_group_id = aws_security_group.this["ec2"].id
305+
},
297306
ec2_http_in_inner = {
298307
type = "ingress"
299308
description = "Allow all inbound traffic from the load balancer on http port"

0 commit comments

Comments
 (0)