Francisco Viera
10/31/2022, 2:04 PMSunny Hashmi (Airbyte)
11/01/2022, 3:05 PMFrancisco Viera
11/01/2022, 5:47 PMSunny Hashmi (Airbyte)
11/03/2022, 2:02 PMoctavia generate source
for BigQuery and came up with this config:
sunny@SanahFaCQY6DK7W testing-folder % cat sources/bigquery/configuration.yaml
# Configuration for airbyte/source-bigquery
# Documentation about this connector can be found at <https://docs.airbyte.io/integrations/sources/bigquery>
resource_name: "BigQuery"
definition_type: source
definition_id: bfd1ddf8-ae8a-4620-b1d7-55597d2ba08c
definition_image: airbyte/source-bigquery
definition_version: 0.2.2
# EDIT THE CONFIGURATION BELOW!
configuration:
dataset_id: # OPTIONAL | string | The dataset ID to search for tables and views. If you are only loading data from one dataset, setting this option could result in much faster schema discovery.
project_id: # REQUIRED | string | The GCP project ID for the project containing the target BigQuery dataset.
credentials_json: ${CREDENTIALS_JSON} # SECRET (please store in environment variables) | REQUIRED | string | The contents of your Service Account Key JSON file. See the <a href="<https://docs.airbyte.io/integrations/sources/bigquery#setup-the-bigquery-source-in-airbyte>">docs</a> for more information on how to obtain this key.
It looks like you should be storing the full contents as an environment variable. Can you try that and let me know if it worked?Sunny Hashmi (Airbyte)
11/03/2022, 2:04 PMDayten Sheffar
03/06/2023, 11:29 PMCREDENTIALS="{\\\"type\\\":\\\"service-account\\\", ...}"
, I tried double escaping new-line characters \\n
nothing is working, perhaps it is just a strange combination of these efforts I haven’t tried yet.Darryl Ng
01/10/2024, 1:23 AM