Skip to content

Commit

Permalink
fix : Fix prod login method
Browse files Browse the repository at this point in the history
  • Loading branch information
gracia10 committed Jul 3, 2023
1 parent 6d02839 commit 17ff366
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions silverwork_dbt/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,21 @@ silverwork_dbt:
threads: 10
prod:
type: bigquery
method: oauth
method: service-account-json
project: "{{ env_var('BIGQUERY_PROJECT_ID') }}"
dataset: "{{ env_var('BIGQUERY_DATASET_ID') }}"
dataproc_region: us-central1
gcs_bucket: silverwork-bucket
dataproc_cluster_name: dbt-cluster
threads: 10
threads: 10
keyfile_json:
type: "{{ env_var('BIGQUERY_JSON_TYPE') }}"
project_id: "{{ env_var('BIGQUERY_JSON_PROJECT_ID') }}"
private_key_id: "{{ env_var('BIGQUERY_JSON_PRIVATE_KEY_ID') }}"
private_key: "{{ env_var('BIGQUERY_JSON_PRIVATE_KEY') }}"
client_email: "{{ env_var('BIGQUERY_JSON_CLIENT_EMAIL') }}"
client_id: "{{ env_var('BIGQUERY_JSON_CLIENT_ID') }}"
auth_uri: "{{ env_var('BIGQUERY_JSON_AUTH_URI') }}"
token_uri: "{{ env_var('BIGQUERY_JSON_TOKEN_URI') }}"
auth_provider_x509_cert_url: "{{ env_var('BIGQUERY_JSON_AUTH_PROVIDER_X509_CERT_URL') }}"
client_x509_cert_url: "{{ env_var('BIGQUERY_JSON_CLIENT_X509_CERT_URL') }}"

0 comments on commit 17ff366

Please sign in to comment.