Attaching project-athen.xyz cert onto alpha LB SSL listener

This commit is contained in:
shockrah 2023-01-09 21:13:19 -08:00
parent 8481a5f123
commit 01e6d7f990

View File

@ -34,10 +34,18 @@ resource "aws_lb_listener" "https" {
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-2016-08"
certificate_arn = aws_acm_certificate_validation.sample.certificate_arn
certificate_arn = aws_acm_certificate_validation.shockrah_xyz.certificate_arn
default_action {
type = "forward"
target_group_arn = aws_lb_target_group.alpha_cluster.arn
}
}
# Certificate attachment for project athens
###########################################
# Additional certificate for the .net
resource "aws_lb_listener_certificate" "alpha_project_athens_cert" {
listener_arn = aws_lb_listener.https.arn
certificate_arn = aws_acm_certificate_validation.project_athens_xyz.certificate_arn
}