Madison Schott
09/20/2022, 7:50 PMwith Flow("data_pipeline_test_new_account", storage=STORAGE, run_config=RUN_CONFIG) as data_pipeline_test_new_account:
STORAGE = Docker(registry_url='-',
image_name='prefect-flows',
dockerfile='')
RUN_CONFIG = ECSRun(run_task_kwargs={'cluster': 'prefect-prod'},
env={"PREFECT__LOGGING__LEVEL": "DEBUG"},
execution_role_arn='',
labels=['ecs-agent', 'prod'])
Taylor Curran
09/20/2022, 8:17 PMNate
09/20/2022, 8:22 PMSTORAGE
and RUN_CONFIG
variables would be replaced by blocks in your cloud workspace!
sounds like you def wanna check out Taylor's link above, but generally wrt deployments we just released a discourse article ( w associated youtube video) giving an overview of setting up infra blocks for deployments!