Skip to content

Commit

Permalink
Training certificate add in UAT ALB
Browse files Browse the repository at this point in the history
  • Loading branch information
umeshc-roy committed Sep 28, 2023
1 parent a30244a commit 23e3f87
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.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 23e3f87

Please sign in to comment.