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

Lambda DuplicateListener error when releasing a 2nd time #2066

Closed
@jbayer

Description

@jbayer

Describe the bug
A second release of a Lambda application with a load balancer seems to result in consistent errors about a DuplicateListener and a missing ARN.

Steps to Reproduce
Use the standard Deploy an Application onto AWS Lambda Learn Guide. The first waypoint up works for me. I made a very small edit to handler.rb and run waypoint up a 2nd time. This time I get several errors. This was reproducible for me.

» Releasing...
❌ Destroying Listener...
! 2 errors occurred:
  	* DuplicateListener: A listener already exists on this port for this load
  balancer
  'arn:aws:elasticloadbalancing:us-west-2:770746137682:loadbalancer/app/waypoint-learn-waypoint-lambda/820119e7cc0249c0'
  	status code: 400, request id: 2e290b46-eae5-4c7d-a217-fc962343f7aa
  	* Error during rollback: ValidationError: A listener ARN must be specified
  	status code: 400, request id: 247046a8-2919-4c79-876a-2f9786070b13

Expected behavior
The 2nd waypoint up should succeed and point to the most recently released Lambda function.

Waypoint Platform Versions
Additional version and platform information to help triage the issue if
applicable:

  • Waypoint CLI Version: Waypoint CLI 0.5.0
  • Waypoint Server Platform and Version: Waypoint Server 0.5.0 on kubernetes
  • Waypoint Plugin: aws/lambda, aws-alb

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions