Event is None when using Compound Trigger to trigger Deployment
Opened this issue · 0 comments
Bug summary
I want to use a compound event trigger to trigger a Deployment and passing along the triggering events. Triggering the Deployment works, but, I can not get it to work passing parameters with data from the events to the Triggered Deployment. See the compound trigger example here: https://docs.prefect.io/v3/automate/events/automations-triggers#define-triggers-in-prefect-yaml. When I reference {{ event }}
I just get None
. {{ event }}
works fine for my other Deployments which are triggered by a single event. So, my Deployment is triggered. But with None
as parameter instead of the actual events triggering the Deployment.
Version info
Version: 3.1.6
API version: 0.8.4
Python version: 3.11.10
Git commit: 6bfce9e8
Built: Wed, Dec 11, 2024 10:46 AM
OS/Arch: linux/x86_64
Profile: ephemeral
Server type: server
Pydantic version: 2.10.3
Integrations:
prefect-docker: 0.6.2
prefect-kubernetes: 0.5.3
Additional context
Using Prefect server docker image: prefecthq/prefect:3.1.5-python3.11 (both for Prefect server and Deployment)
Attached prefect.yaml (please rename it, was not allowed to attach a yaml file for some reason...)
prefect.json