|
@@ -63,12 +63,13 @@ resource "aws_route53_record" "hec_pvt_cert_validation" {
|
|
|
resource "aws_lb" "hec_pvt" {
|
|
|
count = var.splunk_private_hec ? 1 : 0
|
|
|
|
|
|
- tags = merge(var.standard_tags, var.tags)
|
|
|
- name = "${var.prefix}-hec-private"
|
|
|
- load_balancer_type = "application"
|
|
|
- security_groups = [aws_security_group.hec_pvt_elb_security_group[0].id]
|
|
|
- subnets = var.private_subnets
|
|
|
- internal = true
|
|
|
+ tags = merge(var.standard_tags, var.tags)
|
|
|
+ name = "${var.prefix}-hec-private"
|
|
|
+ load_balancer_type = "application"
|
|
|
+ security_groups = [aws_security_group.hec_pvt_elb_security_group[0].id]
|
|
|
+ subnets = var.private_subnets
|
|
|
+ internal = true
|
|
|
+ drop_invalid_header_fields = true
|
|
|
}
|
|
|
|
|
|
resource "aws_lb_listener" "hec_pvt_443" {
|