-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add MwaaTriggerDagRunOperator and MwaaHook to Amazon Provider Package #46579
base: main
Are you sure you want to change the base?
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
trigger_dag_run = MwaaTriggerDagRunOperator( | ||
task_id="trigger_dag_run", | ||
env_name=env_name, | ||
trigger_dag_id=trigger_dag_id, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the use case here that you running the dag in environment A yet want to trigger another DAG in environment B?
This PR adds AWS Managed Workflows for Apache Airflow (MWAA) integration to the Amazon Provider Package. The integration includes:
MwaaTriggerDagRunOperator
: Allows triggering DAGs in an MWAA environmentMwaaHook
: A generic hook to interact with MWAA environments via REST APITo run the
example_mwaa
system test, there needs to be an existing environment already created. In the future, when we add aCreateEnvironmentOperator
, there will be a separate system test just for that operator. This approach was chosen due to the significant time required for MWAA environment creation.^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.