Skip to content

Commit

Permalink
Use sg.id to sgs in lb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Jul 25, 2024
1 parent 81d0e86 commit 2780abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/cloud/modules/networking/elb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_lb" "lb" {
name = "${var.app_name}-lb-${var.environment}"
internal = false
load_balancer_type = "application"
security_groups = [aws_security_group.ecs_security_group]
security_groups = [aws_security_group.ecs_security_group.id]
subnets = aws_subnet.private[*].id
}

Expand Down

0 comments on commit 2780abb

Please sign in to comment.