Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

waypoint up with alb.listener_arn doesn't complete #732

Closed
dlundgren opened this issue Oct 29, 2020 · 0 comments
Closed

waypoint up with alb.listener_arn doesn't complete #732

dlundgren opened this issue Oct 29, 2020 · 0 comments
Labels
bug Something isn't working plugin/aws
Milestone

Comments

@dlundgren
Copy link
Contributor

Describe the bug
When I run waypoint up with an alb.listener_arn set, the ECS service says Created, but it's not attached to the Target group, and reports that the transport is closing.

» Deploying...
✓ Found existing ECS cluster: test-cluster
✓ Found existing IAM role to use: test-task-role
✓ Created ALB target group
✓ Modified ALB Listener to introduce target group
✓ Configured security group: ruby-test-inbound-internal
✓ Created ECS Service (ruby-test-T2Z7E5EV9BAD6R24EK2QWQ, cluster-name: test-cluster)
! transport is closing

Steps to Reproduce

project = "ruby-test"

app "ruby-test" {
  labels = {
    "service" = "ruby-test",
    "env" = "dev"
  }

  build {
    use "pack" {}
    registry {
      use "aws-ecr" {
        region = "us-west-1"
        repository = "tests"
        tag = "latest"
      }
    }
  }

  deploy {
    use "aws-ecs" {
      region = "us-west-1"
      memory = "512"
      cluster = "test-cluster"
      # provided by Ops
      log_group = "ruby-test"
      role_name = "test-task-role"
      alb {
        listener_arn = "arn:aws:elasticloadbalancing:us-west-1:123456789101:listener/app/ruby-test/93b4510da291c4cb/b79c7e5fc37f9c8a"
        domain_name = ""
        zone_id = ""
        certificate = ""
      }
      subnets = [
        "subnet-afef18a51f44bb9b2",
        "subnet-e1e1611bfa8e27f45"
      ]
    }
  }
}

Expected behavior
That the deploy will work properly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working plugin/aws
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants