Attaching project-athen.xyz cert onto alpha LB SSL listener
This commit is contained in:
parent
8481a5f123
commit
01e6d7f990
@ -34,10 +34,18 @@ resource "aws_lb_listener" "https" {
|
|||||||
protocol = "HTTPS"
|
protocol = "HTTPS"
|
||||||
ssl_policy = "ELBSecurityPolicy-2016-08"
|
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 {
|
default_action {
|
||||||
type = "forward"
|
type = "forward"
|
||||||
target_group_arn = aws_lb_target_group.alpha_cluster.arn
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user