File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1010from datetime import datetime
1111
1212import boto3
13+ from airflow .models import Variable
1314from airflow .models .baseoperator import chain
1415from airflow .models .param import Param
1516from airflow .operators .python import PythonOperator
3031# SSM keys for venue-dependent parameters
3132UNITY_DAPA_CLIENT_ID = "/unity/shared-services/dapa/client-id"
3233UNITY_DAPA_API_URL = "/unity/shared-services/dapa/api-url"
33- UNITY_OUTPUT_DATA_BUCKET = "/unity/ds/data/bucket/primary-data-bucket"
34+ UNITY_IDENTIFIER = f"""{ Variable .get ("unity_deployment_name" )} /{ Variable .get ("unity_venue" )} -{ Variable .get ("unity_counter" )} """
35+ UNITY_OUTPUT_DATA_BUCKET = f"/unity/ds/data/bucket/{ UNITY_IDENTIFIER } /primary-data-bucket"
3436
3537# Resources needed by each Task
3638# EC2 r6a.xlarge 4vCPU 32GiB
You can’t perform that action at this time.
0 commit comments