airflow - There is no button “Trigger DAG w config” - Stack Overflow

admin2025-04-18  4

I am using MWAA local (2_10_3),unable to see the UI with Trigger Dag with config.

  1. Do I have to change any configuration.
  2. How to pass the input config? 3.I have used to set up the container. 4.Is there any other way to pass inputs as config parameters?

I am using MWAA local (2_10_3),unable to see the UI with Trigger Dag with config.

  1. Do I have to change any configuration.
  2. How to pass the input config? 3.I have used https://github.com/aws/aws-mwaa-local-runner to set up the container. 4.Is there any other way to pass inputs as config parameters?
Share asked Jan 29 at 18:01 user3858193user3858193 1,5185 gold badges23 silver badges57 bronze badges 1
  • Can you please help with this? stackoverflow.com/questions/79397752/… – james gem Commented Jan 29 at 18:29
Add a comment  | 

1 Answer 1

Reset to default 0

Add AIRFLOW__WEBSERVER__SHOW_TRIGGER_FORM_IF_NO_PARAMS=True in .env.localrunner in config folder. If you are using airflow version >2.7 it requires this parameter.In earlier Airflow versions the Play button opened a dropdown menu with two options Trigger DAG and Trigger DAG w/ config. The Trigger DAG w/ config button allowed you to pass params to the DAG run even if no params were defined at the DAG level.

转载请注明原文地址:http://anycun.com/QandA/1744947817a89880.html