Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ resource "aws_lb" "main" {

}

resource "aws_lb_attribute" "drop_invalid_header_fields" {
load_balancer_arn = aws_lb.main.arn
key = "routing.http.drop_invalid_header_fields.enabled"
value = "true"
}

resource "aws_lb_target_group" "https" {
# Name must be less than or equal to 32 characters, or AWS API returns error.
# Error: "name" cannot be longer than 32 characters
Expand Down