Skip to content

Commit 24bb86d

Browse files
committed
Update security group ingress rules
- Update the port range for the "ingress_lb_port" security group rule to `443` - Update the description of the "ingress_lb_port" security group rule [operations/deployment/terraform/security-group.tf] - Change the description of the "ingress_lb_port" security group rule - Change the port range for the "ingress_lb_port" security group rule to `443`
1 parent 271c355 commit 24bb86d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

operations/deployment/terraform/security-group.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ resource "aws_security_group_rule" "ingress_ssh" {
3636
resource "aws_security_group_rule" "ingress_lb_port" {
3737
count = var.lb_port != var.app_port ? 1 : 0
3838
type = "ingress"
39-
description = "${var.aws_resource_identifier} - Port"
40-
from_port = tonumber(var.lb_port != "" ? var.lb_port : ( local.cert_available ? 443 : 80 ) )
41-
to_port = tonumber(var.lb_port != "" ? var.lb_port : ( local.cert_available ? 443 : 80 ) )
39+
description = "${var.aws_resource_identifier} - lb Port"
40+
from_port = tonumber(var.lb_port != "" ? var.lb_port : 443 )
41+
to_port = tonumber(var.lb_port != "" ? var.lb_port : 443 )
4242
protocol = "tcp"
4343
cidr_blocks = ["0.0.0.0/0"]
4444
security_group_id = aws_security_group.ec2_security_group.id

0 commit comments

Comments
 (0)