Skip to content

Commit

Permalink
Merge pull request #3505 from ministryofjustice/28092023
Browse files Browse the repository at this point in the history
Training certificate add in UAT ALB
  • Loading branch information
umeshc-roy authored Sep 28, 2023
2 parents a30244a + 5967b1b commit 9580387
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 63 deletions.
6 changes: 6 additions & 0 deletions terraform/environments/ppud/alb_internal.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ resource "aws_lb_listener" "PPUD-Front-End-Preprod" {
}
}

resource "aws_lb_listener_certificate" "PPUD-Training-Certificate" {
count = local.is-preproduction == true ? 1 : 0
listener_arn = aws_lb_listener.PPUD-Front-End-Preprod[0].arn
certificate_arn = data.aws_acm_certificate.PPUD_Training_ALB[0].arn
}

resource "aws_lb_listener" "PPUD-Front-End-Prod" {
count = local.is-production == true ? 1 : 0
load_balancer_arn = aws_lb.PPUD-internal-ALB[0].arn
Expand Down
63 changes: 0 additions & 63 deletions terraform/environments/ppud/alb_internal_training.tf

This file was deleted.

0 comments on commit 9580387

Please sign in to comment.