Hello Team, Can someone help me give the correct s...
# ask-community
p
Hello Team, Can someone help me give the correct syntax, to use S3 as the result storage for the flows and subflows when creating a deployment file -> using prefect deployment build options ?
n
hi @Pradeep Kumar - the easiest way would be to set the following
env
var on your infra block
PREFECT_DEFAULT_RESULT_STORAGE_BLOCK=s3/your-s3-block
via override for this deployment, so that all tasks and flows will use this bucket for storage by default or if you're interested in using prefect.yaml to declare deployments, there this example
p
Thanks @Nate