jack
04/19/2023, 2:20 PM$ prefect deployment build run.py:main -n jack-test-3 -ib ecs-task/ecs-block -sb s3/flow-storage-block --pool some-pool --override env.EXTRA_PIP_PACKAGES='prefect-aws s3fs'
Found flow 'main'
Deployment YAML created at 'V:\some-dir\ecs-test-3\main-deployment.yaml'.
Successfully uploaded 2 files to <s3://some-bucket/some-path/>
Ryan Peden
04/20/2023, 6:26 AM--skip-upload
flag.
build
preps the deployment YAML and uploads your files to storage, then apply
registers the deployment via the Prefect API.
You can also do it all in one go by adding the --apply
flag to your build
command.
Although they're still in beta, Projects provide (IMO) a cleaner deployment experience. Worth giving a try if you haven't checked them out yet. 😄