Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable https listener for now
Browse files Browse the repository at this point in the history
vertism committed Dec 4, 2023
1 parent 496f44b commit 40b6ab4
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions terraform/environments/cdpt-chaps/loadbalancer.tf
Original file line number Diff line number Diff line change
@@ -68,19 +68,19 @@ resource "aws_lb_listener" "listener" {
}
}

resource "aws_lb_listener" "https_listener" {
# depends_on = [aws_acm_certificate_validation.external]

load_balancer_arn = aws_lb.external.id
port = "443"
protocol = "HTTPS"
# certificate_arn = format("arn:aws:acm:eu-west-2:%s:certificate/%s", data.aws_caller_identity.current.account_id, local.app_data.accounts[local.environment].cert_arn)

default_action {
target_group_arn = aws_lb_target_group.target_group.id
type = "forward"
}
}
# resource "aws_lb_listener" "https_listener" {
# # depends_on = [aws_acm_certificate_validation.external]

# load_balancer_arn = aws_lb.external.id
# port = "443"
# protocol = "HTTPS"
# # certificate_arn = format("arn:aws:acm:eu-west-2:%s:certificate/%s", data.aws_caller_identity.current.account_id, local.app_data.accounts[local.environment].cert_arn)

# default_action {
# target_group_arn = aws_lb_target_group.target_group.id
# type = "forward"
# }
# }

resource "aws_security_group" "load_balancer_security_group" {
name_prefix = "${local.application_name}-loadbalancer-security-group"

0 comments on commit 40b6ab4

Please sign in to comment.