Bundles¶
Dag bundles allow Airflow to load Dags from external sources. For a general overview see Dag Bundles.
S3DagBundle¶
Use the S3DagBundle to configure an S3 bundle in your Airflow’s
[dag_processor] dag_bundle_config_list.
Example of using the S3DagBundle:
JSON format example:
export AIRFLOW__DAG_PROCESSOR__DAG_BUNDLE_CONFIG_LIST='[
{
"name": "my-s3-dags",
"classpath": "airflow.providers.amazon.aws.bundles.s3.S3DagBundle",
"kwargs": {
"aws_conn_id": "aws_default",
"bucket_name": "my-airflow-bucket",
"prefix": "dags/",
"refresh_interval": 60
}
}
]'