Anjaneyulu K

11/07/2022, 7:02 PM
Hi #prefect-cloud, Good Afternoon! I am trying to use Deployment.build_from_flow() in python. Its not generating deployment config Yaml file in the current location. Should I use explicitly LocalFileSystem? I hope this is used to upload/copy a deployment files to another location

Jeff Hale

11/08/2022, 7:16 PM
By default, using the Python way of creating a Deployment doesn’t create a deployment yaml file. Are you passing the argument
? See discussion here: If I understand your question correctly, using this argument won’t won’t upload/copy deployment files to another location on a different device. You could use a remote storage block such as S3 for that. See the Storage docs to learn more.