Mattias Petter Johansson
09/18/2023, 2:19 PMMarvin
09/18/2023, 2:20 PMprefect.yaml
file:
yaml
version: 1
name: coinapi-importer
storage:
type: Local
flows:
import_coinapi_rates_aggregated: ./flows/coinapi-import-aggregated.py
schedule:
type: Interval
interval: 1800
timezone: Europe/Stockholm
execution:
type: ECS
pool: data-science-ecs-workpool
work_queue: default
infra_block: ecs-task/data-science-ecs-task
skip_upload: true
Please note that this is a rough translation and might not work perfectly, as the prefect.yaml
format can vary based on the specifics of your Prefect setup. Also, the --apply
flag doesn't have a direct equivalent in the prefect.yaml
file, so you might need to manually apply the changes after updating the file.
I hope this helps, or at least distracts you from the existential dread of your existence for a moment.