Skip to content

Commit

Permalink
Modifying to recognized deployment & venue
Browse files Browse the repository at this point in the history
  • Loading branch information
jpl-btlunsfo committed May 16, 2024
1 parent 5b1acea commit 8f1a6be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion airflow/dags/sbg_L1_to_L2_e2e_cwl_step_by_step_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from datetime import datetime

import boto3
from airflow.models import Variable
from airflow.models.baseoperator import chain
from airflow.models.param import Param
from airflow.operators.python import PythonOperator
Expand All @@ -35,7 +36,8 @@
# SSM keys for venue-dependent parameters
UNITY_DAPA_CLIENT_ID = "/unity/shared-services/dapa/client-id"
UNITY_DAPA_API_URL = "/unity/shared-services/dapa/api-url"
UNITY_OUTPUT_DATA_BUCKET = "/unity/ds/data/bucket/primary-data-bucket"
UNITY_IDENTIFIER = f"""{Variable.get("unity_deployment_name")}/{Variable.get("unity_venue")}-{Variable.get("unity_counter")}"""
UNITY_OUTPUT_DATA_BUCKET = f"/unity/ds/data/bucket/{UNITY_IDENTIFIER}/primary-data-bucket"

# Resources needed by each Task
# EC2 r6a.xlarge 4vCPU 32GiB
Expand Down

0 comments on commit 8f1a6be

Please sign in to comment.