| page_title | dbtcloud_global_connection Data Source - dbtcloud |
|---|---|
| subcategory | |
| description |
data dbtcloud_global_connection my_connection {
id = 1234
}id(Number) Connection Identifier
resource_metadata(Dynamic) Metadata for tracking resource identity during account migrations. Stored in Terraform state only and not sent to the API.
adapter_version(String) Version of the adapterapache_spark(Attributes) Apache Spark connection configuration. (see below for nested schema)athena(Attributes) Athena connection configuration. (see below for nested schema)bigquery(Attributes) (see below for nested schema)databricks(Attributes) Databricks connection configuration (see below for nested schema)fabric(Attributes) Microsoft Fabric connection configuration. (see below for nested schema)is_ssh_tunnel_enabled(Boolean) Whether the connection can use an SSH tunnelname(String) Connection nameoauth_configuration_id(Number)postgres(Attributes) PostgreSQL connection configuration. (see below for nested schema)private_link_endpoint_id(String) Private Link Endpoint ID. This ID can be found using theprivatelink_endpointdata sourceredshift(Attributes) Redshift connection configuration (see below for nested schema)salesforce(Attributes) Salesforce connection configuration. (see below for nested schema)snowflake(Attributes) Snowflake connection configuration (see below for nested schema)starburst(Attributes) Starburst/Trino connection configuration. (see below for nested schema)synapse(Attributes) Azure Synapse Analytics connection configuration. (see below for nested schema)teradata(Attributes) Teradata connection configuration. (see below for nested schema)
Read-Only:
auth(String) Authcluster(String) Spark cluster for the connectionconnect_retries(Number) Connection retries. Default=0connect_timeout(Number) Connection time out in seconds. Default=10host(String) Hostname of the connectionmethod(String) Authentication method for the connection (http or thrift).organization(String) Organization IDport(Number) Port for the connection. Default=443user(String) User
Read-Only:
database(String) Specify the database (data catalog) to build models into (lowercase only).num_boto3_retries(Number) Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).num_iceberg_retries(Number) Number of times to retry iceberg commit queries to fix ICEBERG_COMMIT_ERROR.num_retries(Number) Number of times to retry a failing query.poll_interval(Number) Interval in seconds to use for polling the status of query results in Athena.region_name(String) AWS region of your Athena instance.s3_data_dir(String) Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.s3_data_naming(String) How to generate table paths in the S3 data directory.s3_staging_dir(String) S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.s3_tmp_table_dir(String) Prefix for storing temporary tables, if different from the connection's S3 data directory. Must be in the format 's3://bucket-name/path/'.spark_work_group(String) Identifier of Athena Spark workgroup for running Python models.work_group(String) Identifier of Athena workgroup.
Required:
gcp_project_id(String) The GCP project ID to use for the connection
Read-Only:
application_id(String, Sensitive) OAuth Client IDapplication_secret(String, Sensitive) OAuth Client Secretauth_provider_x509_cert_url(String) Auth Provider X509 Cert URL for the Service Accountauth_uri(String) Auth URI for the Service Accountclient_email(String) Service Account emailclient_id(String) Client ID of the Service Accountclient_x509_cert_url(String) Client X509 Cert URL for the Service Accountdataproc_cluster_name(String) Dataproc cluster name for PySpark workloadsdataproc_region(String) Google Cloud region for PySpark workloads on Dataprocdeployment_env_auth_type(String) Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'.execution_project(String) Project to bill for query executiongcs_bucket(String) URI for a Google Cloud Storage bucket to host Python code executed via Dataproimpersonate_service_account(String) Service Account to impersonate when running queriesjob_creation_timeout_seconds(Number) Maximum timeout for the job creation stepjob_retry_deadline_seconds(Number) Total number of seconds to wait while retrying the same querylocation(String) Location to create new Datasets inmaximum_bytes_billed(Number) Max number of bytes that can be billed for a given BigQuery querypriority(String) The priority with which to execute BigQuery queries (batch or interactive)private_key(String, Sensitive) Private Key for the Service Accountprivate_key_id(String) Private Key ID for the Service Accountretries(Number) Number of retries for queriesscopes(Set of String) OAuth scopes for the BigQuery connectiontimeout_seconds(Number) Timeout in seconds for queriestoken_uri(String) Token URI for the Service Account
Read-Only:
catalog(String) Catalog name if Unity Catalog is enabled in your Databricks workspace.client_id(String) Required to enable Databricks OAuth authentication for IDE developers.client_secret(String) Required to enable Databricks OAuth authentication for IDE developers.host(String) The hostname of the Databricks cluster or SQL warehouse.http_path(String) The HTTP path of the Databricks cluster or SQL warehouse.
Read-Only:
database(String) The database to connect to for this connection.login_timeout(Number) The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.port(Number) The port to connect to for this connection. Default=1433query_timeout(Number) The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.retries(Number) The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.server(String) The server hostname.
Read-Only:
dbname(String) The database name for this connection.hostname(String) The hostname of the database.port(Number) The port to connect to for this connection. Default=5432ssh_tunnel(Attributes) PostgreSQL SSH Tunnel configuration (see below for nested schema)
Read-Only:
hostname(String) The hostname for the SSH tunnel.id(Number) The ID of the SSH tunnel connection.port(Number) The HTTP port for the SSH tunnel.public_key(String) The SSH public key generated to allow connecting via SSH tunnel.username(String) The username to use for the SSH tunnel.
Required:
hostname(String) The hostname of the data warehouse.
Read-Only:
dbname(String) The database name for this connection.port(Number) The port to connect to for this connection. Default=5432ssh_tunnel(Attributes) Redshift SSH Tunnel configuration (see below for nested schema)
Read-Only:
hostname(String) The hostname for the SSH tunnel.id(Number) The ID of the SSH tunnel connection.port(Number) The HTTP port for the SSH tunnel.public_key(String) The SSH public key generated to allow connecting via SSH tunnel.username(String) The username to use for the SSH tunnel.
Read-Only:
data_transform_run_timeout(Number) Timeout in seconds for data transformation runs.database(String) The target database name.login_url(String) The Salesforce instance URL (e.g., https://login.salesforce.com)
Read-Only:
account(String) The Snowflake account nameallow_sso(Boolean) Whether to allow Snowflake OAuth for the connection. If true, theoauth_client_idandoauth_client_secretfields must be setclient_session_keep_alive(Boolean) If true, the snowflake client will keep connections for longer than the default 4 hours. This is helpful when particularly long-running queries are executing (> 4 hours)database(String) The default database for the connectionoauth_client_id(String, Sensitive) OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflakeoauth_client_secret(String, Sensitive) OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflakerole(String) The Snowflake role to use when running queries on the connectionwarehouse(String) The default Snowflake Warehouse to use for the connection
Read-Only:
host(String) The hostname of the account to connect to.method(String) The authentication method. Only LDAP for now.port(Number) The port to connect to for this connection. Default=443
Read-Only:
database(String) The database to connect to for this connection.host(String) The server hostname.login_timeout(Number) The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.port(Number) The port to connect to for this connection. Default=1433query_timeout(Number) The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.retries(Number) The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
Read-Only:
host(String) The hostname of the database.port(String) The port to connect to for this connection. Default=1025request_timeout(Number) The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.retries(Number) The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.tmode(String) The transaction mode to use for the connection.