https://prefect.io logo
Title
h

Hafsa Junaid

08/02/2022, 9:48 PM
Following these links for running prefect sample flow on cloud 2.0 : https://orion-docs.prefect.io/ui/cloud-getting-started/ + https://orion-docs.prefect.io/concepts/storage/ Executed this command:
prefect deployment build ./sample.py:samplefunc --name "ALS Deployment" --storage-block recommenderprefectserver
Error: Deployment.yaml is not created with following exception
1
t

Tomas Knoetze

08/02/2022, 9:52 PM
I believe you need to specify the block type slug, e.g. use
--storage-block s3/recommenderprefectserver
if it's an s3 storage block.
h

Hafsa Junaid

08/02/2022, 10:03 PM
its local filesystem, also it throws an error on block
a

Anna Geller

08/02/2022, 10:19 PM
it's easier if you let Prefect create the local FS block implicitly -- if you omit -sb, Prefect will handle it for you
👍 1
h

Hafsa Junaid

08/02/2022, 10:40 PM
@Anna Geller thanks, it worked
🙌 1
@Open AIMP