|
@@ -111,12 +111,13 @@ resource "aws_route53_record" "hec_cert_validation" {
|
|
|
#########################
|
|
|
# ELB
|
|
|
resource "aws_lb" "hec" {
|
|
|
- tags = merge(local.standard_tags, var.tags)
|
|
|
- name = "${var.prefix}-legacy-hec"
|
|
|
- load_balancer_type = "application"
|
|
|
- security_groups = [data.aws_security_group.hec_elb_security_group.id]
|
|
|
- subnets = var.public_subnets
|
|
|
- internal = false #tfsec:ignore:aws-elb-alb-not-public The ELB requires Internet exposure
|
|
|
+ tags = merge(local.standard_tags, var.tags)
|
|
|
+ name = "${var.prefix}-legacy-hec"
|
|
|
+ load_balancer_type = "application"
|
|
|
+ security_groups = [data.aws_security_group.hec_elb_security_group.id]
|
|
|
+ subnets = var.public_subnets
|
|
|
+ internal = false #tfsec:ignore:aws-elb-alb-not-public The ELB requires Internet exposure
|
|
|
+ drop_invalid_header_fields = true
|
|
|
}
|
|
|
|
|
|
resource "aws_lb_listener" "hec_443" {
|