Skip to content

Commit

Permalink
Fix failing job (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifoukarakis authored Feb 29, 2024
1 parent e58ca90 commit b9e3c48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions airflow/dags/mattermost_dags/extract/push_proxy_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
SNOWFLAKE_ACCOUNT,
SNOWFLAKE_LOAD_DATABASE,
SNOWFLAKE_LOAD_WAREHOUSE,
SNOWFLAKE_LOAD_ROLE,
)


Expand Down Expand Up @@ -38,12 +39,14 @@ def push_proxy_loader():
SNOWFLAKE_ACCOUNT,
SNOWFLAKE_LOAD_DATABASE,
SNOWFLAKE_LOAD_WAREHOUSE,
SNOWFLAKE_LOAD_ROLE,
],
env_vars={},
arguments=[
"push_proxy PUSH_PROXY_LOGS_US_NEW LOGS_US_NEW "
" --prefix /AWSLogs/{{ var.value.push_proxy_aws_account_id }}/elasticloadbalancing/{{ var.value.push_proxy_aws_region }}"
" -s {{ var.value.push_proxy_target_schema }}"
" -a ${SNOWFLAKE_ACCOUNT}"
" -d ${SNOWFLAKE_LOAD_DATABASE}"
" -w ${SNOWFLAKE_LOAD_WAREHOUSE}"
" -r ${SNOWFLAKE_LOAD_ROLE}"
Expand All @@ -63,12 +66,14 @@ def push_proxy_loader():
SNOWFLAKE_ACCOUNT,
SNOWFLAKE_LOAD_DATABASE,
SNOWFLAKE_LOAD_WAREHOUSE,
SNOWFLAKE_LOAD_ROLE,
],
env_vars={},
arguments=[
"push_proxy PUSH_PROXY_LOGS_TEST_NEW LOGS_TEST_NEW "
" --prefix /AWSLogs/{{ var.value.push_proxy_aws_account_id }}/elasticloadbalancing/{{ var.value.push_proxy_aws_region }}"
" -s {{ var.value.push_proxy_target_schema }}"
" -a ${SNOWFLAKE_ACCOUNT}"
" -d ${SNOWFLAKE_LOAD_DATABASE}"
" -w ${SNOWFLAKE_LOAD_WAREHOUSE}"
" -r ${SNOWFLAKE_LOAD_ROLE}"
Expand Down

0 comments on commit b9e3c48

Please sign in to comment.