Skip to content

Commit

Permalink
WIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohns-scottlogic committed Jul 24, 2024
1 parent 38ac3ff commit 3188d74
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions dags/dynamic_data_workflow_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
)

cluster_name = "development-cluster"
log_group = "airflow-development-mwaa-Task"
log_region = "eu-west-1"

collection_task = EcsRegisterTaskDefinitionOperator(
task_id="collection-task",
Expand All @@ -24,9 +26,9 @@
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "airflow-development-mwaa-Task",
"awslogs-region": "eu-west-1",
"awslogs-stream-prefix": "ecs",
"awslogs-group": log_group,
"awslogs-region": log_region,
"awslogs-stream-prefix": "collector",
},
},
},
Expand Down Expand Up @@ -91,8 +93,8 @@
"assignPublicIp": "ENABLED",
}
},
awslogs_group="airflow-development-mwaa-Task",
awslogs_region="eu-west-1",
awslogs_stream_prefix="ecs",
awslogs_group=log_group,
awslogs_region=log_region,
awslogs_stream_prefix="collector",
# awslogs_fetch_interval=timedelta(seconds=5)
)

0 comments on commit 3188d74

Please sign in to comment.