Skip to content

Traffic potentially unencrypted? #137

@aleciperez

Description

@aleciperez

We deployed this internally for organization as a pilot and one of our requirements is that all traffic from start to finish needs to be encrypted. For the most part, this looks to be the case except that the target groups for the ALB seem to communicate over HTTP and not HTTPS as expected. If I understand correctly, this would mean the web traffic would be unencrypted for just this brief step.

Image

I also notice that it's hardcoded this way in the terraform as well.

resource "aws_lb_target_group" "tg_4000" {
name = "${var.name}-4000"
port = 4000
protocol = "HTTP"
vpc_id = var.vpc_id
target_type = "ip"

resource "aws_lb_target_group" "tg_3000" {
name = "${var.name}-3000"
port = 3000
protocol = "HTTP"
vpc_id = var.vpc_id
target_type = "ip"

Could this be changed? It seems like a small oversight.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions