Adding temper.tv cert

This commit is contained in:
shockrah 2023-10-06 00:09:24 -07:00
parent 82f34d03cd
commit 4a210404bb

View File

@ -72,7 +72,7 @@ resource "aws_lb_listener_rule" "beta" {
} }
condition { condition {
host_header { host_header {
values = local.buckets values = local.domains
} }
} }
} }
@ -80,10 +80,14 @@ resource "aws_lb_listener_rule" "beta" {
# Certificate attachment for project athens # Certificate attachment for project athens
########################################### ###########################################
# Additional certificate for the .net # Additional certificate project-athens
resource "aws_lb_listener_certificate" "alpha_project_athens_cert" { resource "aws_lb_listener_certificate" "alpha_project_athens_cert" {
for_each = toset(local.buckets)
listener_arn = aws_lb_listener.https.arn listener_arn = aws_lb_listener.https.arn
certificate_arn = aws_acm_certificate_validation.project_athens_xyz.certificate_arn certificate_arn = aws_acm_certificate_validation.project_athens_xyz.certificate_arn
} }
resource "aws_lb_listener_certificate" "alpha_temper_tv_cert" {
listener_arn = aws_lb_listener.https.arn
certificate_arn = aws_acm_certificate_validation.temper_tv.certificate_arn
}