diff --git a/terraform/builder-api.tf b/terraform/builder-api.tf index 52ec9317fd..27082f134d 100644 --- a/terraform/builder-api.tf +++ b/terraform/builder-api.tf @@ -7,6 +7,13 @@ resource "aws_security_group" "habitat_api_elb" { description = "Habitat API Load Balancer" vpc_id = "vpc-3b678f5e" + ingress { + from_port = 80 + to_port = 80 + protocol = "tcp" + cidr_blocks = ["0.0.0.0/0"] + } + ingress { from_port = 443 to_port = 443 @@ -98,6 +105,13 @@ resource "aws_elb" "habitat_api" { lb_protocol = "HTTP" } + listener { + instance_port = 9636 + instance_protocol = "HTTP" + lb_port = 80 + lb_protocol = "HTTP" + } + listener { instance_port = 9636 instance_protocol = "HTTP"