Colton
04/19/2024, 9:51 PMMarvin
04/19/2024, 9:51 PMprefect.yaml
that trigger deployments:
yaml
deployments:
- name: my-deployment
entrypoint: path/to/flow.py:decorated_fn
work_pool:
name: my-process-pool
triggers:
- enabled: true
match:
prefect.resource.id: my.external.resource
expect:
- external.resource.pinged
parameters:
param_1: "{{ event }}"
At deployment time, this creates a linked automation that is triggered by events matching your chosen grammar, which will then pass the event as a parameter to the deployment's flow run.
You can find more information about automations in the Prefect documentation on automations.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by