Skip to content

Commit

Permalink
chore: add secrets manager calls
Browse files Browse the repository at this point in the history
  • Loading branch information
katebygrace committed Feb 29, 2024
1 parent 9fd5f67 commit 91cd1e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dataeng/resources/model-transfers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ fi

ARGS="{mart: ${MART_NAME} }"

dbt deps --profiles-dir $WORKSPACE/analytics-secure/warehouse-transforms/ --profile $DBT_PROFILE --target $DBT_TARGET
source secrets-manager.sh analytics-secure/warehouse-transforms/profiles DBT_PASSWORD

dbt deps --profiles-dir $WORKSPACE/profiles/ --profile $DBT_PROFILE --target $DBT_TARGET

# Call DBT to perform all transfers for this mart.
dbt run-operation perform_s3_transfers --args "${ARGS}" --profile $DBT_PROFILE --target $DBT_TARGET --profiles-dir $WORKSPACE/analytics-secure/warehouse-transforms/
dbt run-operation perform_s3_transfers --args "${ARGS}" --profile $DBT_PROFILE --target $DBT_TARGET --profiles-dir $WORKSPACE/profiles/

0 comments on commit 91cd1e2

Please sign in to comment.