Error: multiple versions of heroku/procfile - must specify an explicit version

I have a simple Python application (see code here). I’m using Gitlab to deploy to AWS ECR and ECS but get the following error message:

! processing order: unable to resolve version: multiple versions of heroku/procfile - must specify an explicit version
Cleaning up file based variables
ERROR: Job failed: exit code 1

I specified a Procfile in my repository.

My waypoint.hcl file looks as follows:

project = "Python application"

app "python_app" {
    labels = {
      "service" = "flask-todo",
      "env"     = "dev"
    }

    build {
      registry {
        use "aws-ecr" {
          region = "eu-central-1"
          repository = "flask-basic-waypoint-ecr-ecs"
          tag = "latest"
        }
      }
    }

    deploy {
      use "aws-ecs" {
        region = "eu-central-1"
        memory = "512"
      }
    }
}

I am hitting this error in others of our examples repos, so I think it might be an issue with the heroku/buildpacks latest release, which was an hour ago. I’ll keep looking.

I tried with the develop branch and that works so must be indeed something with v18 of the buildpack.

use “pack” {
builder = “heroku/buildpacks:develop”
disable_entrypoint = false
}

However, I do get the following an empty deployment URL.

Release URL: http://waypoint-ecs-flask-basic-app-733909102.eu-central-1.elb.amazonaws.com
Deployment URL: https://

Also, visiting the release URL gives a 503 Service Temporarily Unavailable.

Can you let me know, or gist, the logs you see in your CloudWatch Logs under waypoint-logs, as well as gist the local server logs via docker logs waypoint-server?

This issue got fixed, was a mistake on my side. Although it’s displaying my Python app now I still see the following:

The deploy was successful! A Waypoint deployment URL is shown below. This
can be used internally to check your deployment and is not meant for external
traffic. You can manage this hostname using "waypoint hostname."
Release URL: [http://waypoint-ecs-flask-basic-app-733909102.eu-central-1.elb.amazonaws.com](http://waypoint-ecs-flask-basic-app-733909102.eu-central-1.elb.amazonaws.com/)
Deployment URL: https://

So an empty deployment URL for some reason.

The Cloudwatch log is attached cloudwatch.txt (2.2 KB)

Note: this is when I deploy through Gitlab only. If I just use local waypoint commands (init, up), then I do get the deployment URL. When I deploy the same code through Gitlab, it does not show the deployment URL (but the app works).

Oh interesting. I wonder what’s going on with the GitLab side. Do you have any logs from that end you can share?

Will try to reproduce soon, sorry for the delay.