https://prefect.io logo
Title
a

Anna Gerlich

05/17/2023, 6:58 AM
Hi All, My project contains multiple Prefect2 deployments. As a storage I use S3, but I've noticed that each time I build 1 deployment, all of them are being re-uploaded to S3. Is there any way to restrict the upload to the 1 I build right now?
j

Jamie Zieziula

05/17/2023, 1:35 PM
Hi Anna - are you defining the s3 upload step under prefect.yaml?
a

Anna Gerlich

05/17/2023, 1:41 PM
we define s3 storage as a parameter of
prefect.deployments.build_from_flow()
in python
j

Jamie Zieziula

05/17/2023, 1:46 PM
Are you using Prefect projects?
a

Anna Gerlich

06/01/2023, 8:09 AM
Hi @Jamie Zieziula, no, we don't use any project. In fact, each of the deployment is a separate thing and there is no way for us to group them into projects. Even though, we would upload all deployments from the same project which again is not ideal