The code example below use HTTP
resource "aws_alb_listener" "insecure_example" {
protocol = "HTTP"
}
If a malicious actor were to eavesdrop on your connection, they would be able to see all of your data flowing back and forth.
Use HTTPS instead
resource "aws_alb_listener" "secure_example" {
protocol = "HTTPS"
}