So I've been trying to deploy my flow code to an e...
# ask-community
d
So I've been trying to deploy my flow code to an existing work pool. However, I get an error stemming from
Copy code
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: <http+docker://localnpipe/v1.41/images/{ecr_registry}/{image}/push?tag=latest>
Has anyone else encountered this in the past? My .yaml configuration for the build and push steps are below...
Copy code
# build section allows you to manage and build docker images
build:
- prefect_docker.deployments.steps.build_docker_image:
    id: build_image
    requires: prefect-docker>=0.3.1
    image_name: {ecr_registry}/{image}
    tag: latest
    dockerfile: Dockerfile

# push section allows you to manage if and how this project is uploaded to remote locations
push:
- prefect_docker.deployments.steps.push_docker_image:
    requires: prefect-docker>=0.3.1
    image_name: '{{ build_image.image_name }}'
    tag: '{{ build_image.tag }}'
I've made sure that my AWS user has the correct permissions, and that I've logged into ecr prior to deployment.
b
@David Martin Calalang does the
prefect deploy
command output any more context with the exception?
d
This is actually resolved, turns out my aws credentials timed out and I just had to re-authenticate with ECR
b
Awesome! Thanks for the update 🙂
👍 1