In modules/alb/main.tf : resource "aws_alb_listener" "https" { load_balancer_arn = "${aws_alb.alb.id}" port = "80" protocol = "HTTP" default_action { target_group_arn = "${aws_alb_target_group.default.id}" type = "forward" } }