Skip to content

Commit

Permalink
AWS CLI DAG using CWL
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Meyers committed Feb 27, 2024
1 parent 13dea6b commit a458a31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/dags/aws_cli_cwl_dag.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import uuid
from datetime import datetime

from airflow.models.param import Param
from airflow.providers.cncf.kubernetes.operators.kubernetes_pod import KubernetesPodOperator
from kubernetes.client import models as k8s

Expand Down Expand Up @@ -31,6 +32,7 @@
schedule=None,
max_active_runs=1,
default_args=dag_default_args,
params={"cwl_workflow": Param(CWL_WORKFLOW, type="string")},
)

# Task that executes the specific CWL workflow with the previous arguments
Expand Down

0 comments on commit a458a31

Please sign in to comment.