Skip to content

Commit

Permalink
Merge pull request #8808 from ministryofjustice/Update_261124_5
Browse files Browse the repository at this point in the history
Update 261124 5
  • Loading branch information
nbuckingham72 authored Nov 26, 2024
2 parents 458da09 + fdf8ea7 commit 690f3af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/environments/ppud/alb_external.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ resource "aws_lb_listener" "WAM-Front-End-DEV" {

default_action {
type = "forward"
target_group_arn = aws_lb_target_group.WAM-Target-Group.arn
target_group_arn = aws_lb_target_group.WAM-Target-Group-Dev[0].arn
}
}

Expand All @@ -131,7 +131,7 @@ resource "aws_lb_listener" "WAM-Front-End-Preprod" {

default_action {
type = "forward"
target_group_arn = aws_lb_target_group.WAM-Target-Group.arn
target_group_arn = aws_lb_target_group.WAM-Target-Group-Preprod[0].arn
}
}

Expand Down Expand Up @@ -174,14 +174,14 @@ resource "aws_lb_target_group" "WAM-Target-Group" {

resource "aws_lb_target_group_attachment" "WAM-Portal-development" {
count = local.is-development == true ? 1 : 0
target_group_arn = aws_lb_target_group.WAM-Target-Group.arn
target_group_arn = aws_lb_target_group.WAM-Target-Group-Dev[0].arn
target_id = aws_instance.s609693lo6vw105[0].id
port = 80
}

resource "aws_lb_target_group_attachment" "WAM-Portal-preproduction" {
count = local.is-preproduction == true ? 1 : 0
target_group_arn = aws_lb_target_group.WAM-Target-Group.arn
target_group_arn = aws_lb_target_group.WAM-Target-Group-Preprod[0].arn
target_id = aws_instance.s618358rgvw201[0].id
port = 80
}
Expand Down

0 comments on commit 690f3af

Please sign in to comment.