https://prefect.io logo
Title
f

Faheem Khan

07/29/2022, 2:30 AM
Hi all, prefect 2.0. I am getting the following error while building a deployment.
ValueError: Unable to find block document named mini1 for block type RemoteFileSystem
My deployment command looks like:
prefect deployment build /flows/deployment-patterns/a_project_template/flows/healthcheck.py:healthcheck --name docker-simple --tag dev -sb RemoteFileSystem/mini1 -ib docker-container/prefect2.0
I have already created block through api when I was starting prefect in docker container
m

Mathijs Carlu

07/29/2022, 10:02 AM
the slug for RemoteFileSystem is remote-file-system, your -sb should thus be
remote-file-system/mini1.
I saw this in the database, but this should actually be documented imo
🙌 2
a

Anna Geller

07/29/2022, 12:22 PM
yes exactly • remote-file-system • local-file-system • s3 • gcs • and more to come!