From b7da2a652ea6d41731f2b916b37535e490f3efff Mon Sep 17 00:00:00 2001 From: "86.LAK" Date: Wed, 22 May 2024 18:19:12 +1000 Subject: [PATCH] getting it accessible on port 80 --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index d39eb28..1704f8a 100644 --- a/main.tf +++ b/main.tf @@ -246,8 +246,8 @@ resource "aws_security_group" "unibasement_frontend" { description = "unibasement Security Group" ingress { - from_port = 3000 - to_port = 3000 + from_port = 80 + to_port = 80 protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } @@ -537,7 +537,7 @@ resource "aws_lb_listener" "unibasement_backend" { resource "aws_lb_listener" "unibasement" { load_balancer_arn = aws_lb.unibasement.arn - port = "3000" + port = "80" protocol = "HTTP" default_action {