Christopher10/18/2022, 4:35 PM
on my dev machine. It shows up in Prefect Cloud. 2. I have created a deployment with
again from my dev machine 3. I have started a local agent with
prefect deployment build -n dev-trial -q dev -ib ecs-task/dev-trial -a flows/healthcheck.py:healcheck
and triggered a job. All works. 4. I have started an agent inside a container and triggered the job, but now it fails with the error
prefect agent start -q dev
It seems like in the container, it's not able to resolve the block reference. But isn't that embedded inside the yaml downloaded from Prefect Cloud?
KeyError: "No class found for dispatch key 'ecs-task' in registry for type 'Block'."
Zanie10/18/2022, 4:44 PM
isn’t installed, the implementation of the block will not be discoverable.
Jamie Baldanza10/19/2022, 7:13 PM
Christopher10/19/2022, 7:15 PM
Jamie Baldanza10/19/2022, 7:16 PM
Zanie10/19/2022, 7:22 PM
environment variable to install it with our default entrypoint e.g.