published on Tuesday, Nov 24, 2026 by Pulumi
dbt Cloudpublished on Tuesday, Nov 24, 2026 by Pulumi
This resource can be used to create global connections as introduced in dbt Cloud in August 2024.
Those connections are not linked to a specific project and can be linked to environments from different projects by using the connectionId field in the dbtcloud.Environment resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
const apacheSpark = new dbtcloud.GlobalConnection("apache_spark", {
name: "My Apache Spark connection",
apacheSpark: {
method: "http",
host: "my-spark-host.com",
cluster: "my-cluster",
connectTimeout: 100,
},
});
const athena = new dbtcloud.GlobalConnection("athena", {
name: "My Athena connection",
athena: {
regionName: "us-east-1",
database: "mydatabase",
s3StagingDir: "s3://my-bucket/my-staging-dir/",
workGroup: "my_work_group",
s3DataDir: "s3://my-bucket/my-data-dir/",
},
});
// BigQuery connection with Service Account JSON authentication
const bigquery = new dbtcloud.GlobalConnection("bigquery", {
name: "My BigQuery connection",
bigquery: {
gcpProjectId: "my-gcp-project-id",
timeoutSeconds: 1000,
privateKeyId: "my-private-key-id",
privateKey: "ABCDEFGHIJKL",
clientEmail: "my_client_email",
clientId: "my_client_id",
authUri: "my_auth_uri",
tokenUri: "my_token_uri",
authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
clientX509CertUrl: "my_client_x509_cert_url",
deploymentEnvAuthType: "service-account-json",
},
});
// BigQuery connection with Native OAuth for development environments.
// application_id and application_secret are the client ID and secret of the OAuth
// application. Each developer then authorizes the application in dbt.
const bigqueryNativeOauth = new dbtcloud.GlobalConnection("bigquery_native_oauth", {
name: "My BigQuery Native OAuth connection",
bigquery: {
gcpProjectId: "my-gcp-project-id",
applicationId: "my-oauth-client-id",
applicationSecret: "my-oauth-client-secret",
privateKeyId: "my-private-key-id",
privateKey: "ABCDEFGHIJKL",
clientEmail: "my_client_email",
clientId: "my_client_id",
authUri: "my_auth_uri",
tokenUri: "my_token_uri",
authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
clientX509CertUrl: "my_client_x509_cert_url",
},
});
// BigQuery connection over Private Service Connect.
// api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
// which endpoint the connection uses. Set both fields.
const bigqueryPsc = dbtcloud.getPrivatelinkEndpoint({
name: "My BigQuery PSC endpoint",
});
const bigqueryPrivateLink = new dbtcloud.GlobalConnection("bigquery_private_link", {
name: "My BigQuery PrivateLink connection",
privateLinkEndpointId: bigqueryPsc.then(bigqueryPsc => bigqueryPsc.id),
bigquery: {
gcpProjectId: "my-gcp-project-id",
apiEndpoint: bigqueryPsc.then(bigqueryPsc => bigqueryPsc.privateLinkEndpointUrl),
privateKeyId: "my-private-key-id",
privateKey: "ABCDEFGHIJKL",
clientEmail: "my_client_email",
clientId: "my_client_id",
authUri: "my_auth_uri",
tokenUri: "my_token_uri",
authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
clientX509CertUrl: "my_client_x509_cert_url",
},
});
// BigQuery connection with External OAuth (Workload Identity Federation)
// TODO: Currently the API still requires service account fields even with external-oauth-wif
const bigqueryWif = new dbtcloud.GlobalConnection("bigquery_wif", {
name: "My BigQuery WIF connection",
bigquery: {
gcpProjectId: "my-gcp-project-id",
applicationId: "oauth_application_id",
applicationSecret: "oauth_secret_id",
deploymentEnvAuthType: "external-oauth-wif",
privateKeyId: "my-private-key-id",
privateKey: "ABCDEFGHIJKL",
clientEmail: "my_client_email",
clientId: "my_client_id",
authUri: "my_auth_uri",
tokenUri: "my_token_uri",
authProviderX509CertUrl: "my_auth_provider_x509_cert_url",
clientX509CertUrl: "my_client_x509_cert_url",
},
});
const databricks = new dbtcloud.GlobalConnection("databricks", {
name: "My Databricks connection",
databricks: {
host: "my-databricks-host.cloud.databricks.com",
httpPath: "/sql/my/http/path",
catalog: "dbt_catalog",
clientId: "yourclientid",
clientSecret: "yourclientsecret",
},
});
const fabric = new dbtcloud.GlobalConnection("fabric", {
name: "My Fabric connection",
fabric: {
server: "my-fabric-server.com",
database: "mydb",
port: 1234,
retries: 3,
loginTimeout: 60,
queryTimeout: 3600,
},
});
const postgres = new dbtcloud.GlobalConnection("postgres", {
name: "My PostgreSQL connection",
postgres: {
hostname: "my-postgresql-server.com",
port: 5432,
dbname: "my_database",
},
});
const redshift = new dbtcloud.GlobalConnection("redshift", {
name: "My Redshift connection",
redshift: {
hostname: "my-redshift-connection.com",
port: 5432,
dbname: "my_database",
},
});
const snowflake = new dbtcloud.GlobalConnection("snowflake", {
name: "My Snowflake connection",
privateLinkEndpointId: myPrivateLink.id,
snowflake: {
account: "my-snowflake-account",
database: "MY_DATABASE",
warehouse: "MY_WAREHOUSE",
clientSessionKeepAlive: false,
allowSso: true,
oauthClientId: "yourclientid",
oauthClientSecret: "yourclientsecret",
},
});
const starburst = new dbtcloud.GlobalConnection("starburst", {
name: "My Starburst connection",
starburst: {
host: "my-starburst-host.com",
database: "mydb",
},
});
const synapse = new dbtcloud.GlobalConnection("synapse", {
name: "My Synapse connection",
synapse: {
host: "my-synapse-server.com",
database: "mydb",
port: 1234,
retries: 3,
loginTimeout: 60,
queryTimeout: 3600,
},
});
const teradata = new dbtcloud.GlobalConnection("teradata", {
name: "My Teradata connection",
teradata: {
host: "my-teradata-server.com",
tmode: "ANSI",
port: "1234",
requestTimeout: 600,
retries: 3,
},
});
const clickhouse = new dbtcloud.GlobalConnection("clickhouse", {
name: "My ClickHouse connection",
clickhouse: {
host: "my-clickhouse-server.com",
port: 8443,
database: "default",
},
});
import pulumi
import pulumi_dbtcloud as dbtcloud
apache_spark = dbtcloud.GlobalConnection("apache_spark",
name="My Apache Spark connection",
apache_spark={
"method": "http",
"host": "my-spark-host.com",
"cluster": "my-cluster",
"connect_timeout": 100,
})
athena = dbtcloud.GlobalConnection("athena",
name="My Athena connection",
athena={
"region_name": "us-east-1",
"database": "mydatabase",
"s3_staging_dir": "s3://my-bucket/my-staging-dir/",
"work_group": "my_work_group",
"s3_data_dir": "s3://my-bucket/my-data-dir/",
})
# BigQuery connection with Service Account JSON authentication
bigquery = dbtcloud.GlobalConnection("bigquery",
name="My BigQuery connection",
bigquery={
"gcp_project_id": "my-gcp-project-id",
"timeout_seconds": 1000,
"private_key_id": "my-private-key-id",
"private_key": "ABCDEFGHIJKL",
"client_email": "my_client_email",
"client_id": "my_client_id",
"auth_uri": "my_auth_uri",
"token_uri": "my_token_uri",
"auth_provider_x509_cert_url": "my_auth_provider_x509_cert_url",
"client_x509_cert_url": "my_client_x509_cert_url",
"deployment_env_auth_type": "service-account-json",
})
# BigQuery connection with Native OAuth for development environments.
# application_id and application_secret are the client ID and secret of the OAuth
# application. Each developer then authorizes the application in dbt.
bigquery_native_oauth = dbtcloud.GlobalConnection("bigquery_native_oauth",
name="My BigQuery Native OAuth connection",
bigquery={
"gcp_project_id": "my-gcp-project-id",
"application_id": "my-oauth-client-id",
"application_secret": "my-oauth-client-secret",
"private_key_id": "my-private-key-id",
"private_key": "ABCDEFGHIJKL",
"client_email": "my_client_email",
"client_id": "my_client_id",
"auth_uri": "my_auth_uri",
"token_uri": "my_token_uri",
"auth_provider_x509_cert_url": "my_auth_provider_x509_cert_url",
"client_x509_cert_url": "my_client_x509_cert_url",
})
# BigQuery connection over Private Service Connect.
# api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
# which endpoint the connection uses. Set both fields.
bigquery_psc = dbtcloud.get_privatelink_endpoint(name="My BigQuery PSC endpoint")
bigquery_private_link = dbtcloud.GlobalConnection("bigquery_private_link",
name="My BigQuery PrivateLink connection",
private_link_endpoint_id=bigquery_psc.id,
bigquery={
"gcp_project_id": "my-gcp-project-id",
"api_endpoint": bigquery_psc.private_link_endpoint_url,
"private_key_id": "my-private-key-id",
"private_key": "ABCDEFGHIJKL",
"client_email": "my_client_email",
"client_id": "my_client_id",
"auth_uri": "my_auth_uri",
"token_uri": "my_token_uri",
"auth_provider_x509_cert_url": "my_auth_provider_x509_cert_url",
"client_x509_cert_url": "my_client_x509_cert_url",
})
# BigQuery connection with External OAuth (Workload Identity Federation)
# TODO: Currently the API still requires service account fields even with external-oauth-wif
bigquery_wif = dbtcloud.GlobalConnection("bigquery_wif",
name="My BigQuery WIF connection",
bigquery={
"gcp_project_id": "my-gcp-project-id",
"application_id": "oauth_application_id",
"application_secret": "oauth_secret_id",
"deployment_env_auth_type": "external-oauth-wif",
"private_key_id": "my-private-key-id",
"private_key": "ABCDEFGHIJKL",
"client_email": "my_client_email",
"client_id": "my_client_id",
"auth_uri": "my_auth_uri",
"token_uri": "my_token_uri",
"auth_provider_x509_cert_url": "my_auth_provider_x509_cert_url",
"client_x509_cert_url": "my_client_x509_cert_url",
})
databricks = dbtcloud.GlobalConnection("databricks",
name="My Databricks connection",
databricks={
"host": "my-databricks-host.cloud.databricks.com",
"http_path": "/sql/my/http/path",
"catalog": "dbt_catalog",
"client_id": "yourclientid",
"client_secret": "yourclientsecret",
})
fabric = dbtcloud.GlobalConnection("fabric",
name="My Fabric connection",
fabric={
"server": "my-fabric-server.com",
"database": "mydb",
"port": 1234,
"retries": 3,
"login_timeout": 60,
"query_timeout": 3600,
})
postgres = dbtcloud.GlobalConnection("postgres",
name="My PostgreSQL connection",
postgres={
"hostname": "my-postgresql-server.com",
"port": 5432,
"dbname": "my_database",
})
redshift = dbtcloud.GlobalConnection("redshift",
name="My Redshift connection",
redshift={
"hostname": "my-redshift-connection.com",
"port": 5432,
"dbname": "my_database",
})
snowflake = dbtcloud.GlobalConnection("snowflake",
name="My Snowflake connection",
private_link_endpoint_id=my_private_link["id"],
snowflake={
"account": "my-snowflake-account",
"database": "MY_DATABASE",
"warehouse": "MY_WAREHOUSE",
"client_session_keep_alive": False,
"allow_sso": True,
"oauth_client_id": "yourclientid",
"oauth_client_secret": "yourclientsecret",
})
starburst = dbtcloud.GlobalConnection("starburst",
name="My Starburst connection",
starburst={
"host": "my-starburst-host.com",
"database": "mydb",
})
synapse = dbtcloud.GlobalConnection("synapse",
name="My Synapse connection",
synapse={
"host": "my-synapse-server.com",
"database": "mydb",
"port": 1234,
"retries": 3,
"login_timeout": 60,
"query_timeout": 3600,
})
teradata = dbtcloud.GlobalConnection("teradata",
name="My Teradata connection",
teradata={
"host": "my-teradata-server.com",
"tmode": "ANSI",
"port": "1234",
"request_timeout": 600,
"retries": 3,
})
clickhouse = dbtcloud.GlobalConnection("clickhouse",
name="My ClickHouse connection",
clickhouse={
"host": "my-clickhouse-server.com",
"port": 8443,
"database": "default",
})
package main
import (
"github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbtcloud.NewGlobalConnection(ctx, "apache_spark", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Apache Spark connection"),
ApacheSpark: &dbtcloud.GlobalConnectionApacheSparkArgs{
Method: pulumi.String("http"),
Host: pulumi.String("my-spark-host.com"),
Cluster: pulumi.String("my-cluster"),
ConnectTimeout: pulumi.Int(100),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "athena", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Athena connection"),
Athena: &dbtcloud.GlobalConnectionAthenaArgs{
RegionName: pulumi.String("us-east-1"),
Database: pulumi.String("mydatabase"),
S3StagingDir: pulumi.String("s3://my-bucket/my-staging-dir/"),
WorkGroup: pulumi.String("my_work_group"),
S3DataDir: pulumi.String("s3://my-bucket/my-data-dir/"),
},
})
if err != nil {
return err
}
// BigQuery connection with Service Account JSON authentication
_, err = dbtcloud.NewGlobalConnection(ctx, "bigquery", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My BigQuery connection"),
Bigquery: &dbtcloud.GlobalConnectionBigqueryArgs{
GcpProjectId: pulumi.String("my-gcp-project-id"),
TimeoutSeconds: pulumi.Int(1000),
PrivateKeyId: pulumi.String("my-private-key-id"),
PrivateKey: pulumi.String("ABCDEFGHIJKL"),
ClientEmail: pulumi.String("my_client_email"),
ClientId: pulumi.String("my_client_id"),
AuthUri: pulumi.String("my_auth_uri"),
TokenUri: pulumi.String("my_token_uri"),
AuthProviderX509CertUrl: pulumi.String("my_auth_provider_x509_cert_url"),
ClientX509CertUrl: pulumi.String("my_client_x509_cert_url"),
DeploymentEnvAuthType: pulumi.String("service-account-json"),
},
})
if err != nil {
return err
}
// BigQuery connection with Native OAuth for development environments.
// application_id and application_secret are the client ID and secret of the OAuth
// application. Each developer then authorizes the application in dbt.
_, err = dbtcloud.NewGlobalConnection(ctx, "bigquery_native_oauth", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My BigQuery Native OAuth connection"),
Bigquery: &dbtcloud.GlobalConnectionBigqueryArgs{
GcpProjectId: pulumi.String("my-gcp-project-id"),
ApplicationId: pulumi.String("my-oauth-client-id"),
ApplicationSecret: pulumi.String("my-oauth-client-secret"),
PrivateKeyId: pulumi.String("my-private-key-id"),
PrivateKey: pulumi.String("ABCDEFGHIJKL"),
ClientEmail: pulumi.String("my_client_email"),
ClientId: pulumi.String("my_client_id"),
AuthUri: pulumi.String("my_auth_uri"),
TokenUri: pulumi.String("my_token_uri"),
AuthProviderX509CertUrl: pulumi.String("my_auth_provider_x509_cert_url"),
ClientX509CertUrl: pulumi.String("my_client_x509_cert_url"),
},
})
if err != nil {
return err
}
// BigQuery connection over Private Service Connect.
// api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
// which endpoint the connection uses. Set both fields.
bigqueryPsc, err := dbtcloud.GetPrivatelinkEndpoint(ctx, &dbtcloud.GetPrivatelinkEndpointArgs{
Name: pulumi.StringRef("My BigQuery PSC endpoint"),
}, nil)
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "bigquery_private_link", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My BigQuery PrivateLink connection"),
PrivateLinkEndpointId: pulumi.String(bigqueryPsc.Id),
Bigquery: &dbtcloud.GlobalConnectionBigqueryArgs{
GcpProjectId: pulumi.String("my-gcp-project-id"),
ApiEndpoint: pulumi.String(bigqueryPsc.PrivateLinkEndpointUrl),
PrivateKeyId: pulumi.String("my-private-key-id"),
PrivateKey: pulumi.String("ABCDEFGHIJKL"),
ClientEmail: pulumi.String("my_client_email"),
ClientId: pulumi.String("my_client_id"),
AuthUri: pulumi.String("my_auth_uri"),
TokenUri: pulumi.String("my_token_uri"),
AuthProviderX509CertUrl: pulumi.String("my_auth_provider_x509_cert_url"),
ClientX509CertUrl: pulumi.String("my_client_x509_cert_url"),
},
})
if err != nil {
return err
}
// BigQuery connection with External OAuth (Workload Identity Federation)
// TODO: Currently the API still requires service account fields even with external-oauth-wif
_, err = dbtcloud.NewGlobalConnection(ctx, "bigquery_wif", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My BigQuery WIF connection"),
Bigquery: &dbtcloud.GlobalConnectionBigqueryArgs{
GcpProjectId: pulumi.String("my-gcp-project-id"),
ApplicationId: pulumi.String("oauth_application_id"),
ApplicationSecret: pulumi.String("oauth_secret_id"),
DeploymentEnvAuthType: pulumi.String("external-oauth-wif"),
PrivateKeyId: pulumi.String("my-private-key-id"),
PrivateKey: pulumi.String("ABCDEFGHIJKL"),
ClientEmail: pulumi.String("my_client_email"),
ClientId: pulumi.String("my_client_id"),
AuthUri: pulumi.String("my_auth_uri"),
TokenUri: pulumi.String("my_token_uri"),
AuthProviderX509CertUrl: pulumi.String("my_auth_provider_x509_cert_url"),
ClientX509CertUrl: pulumi.String("my_client_x509_cert_url"),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "databricks", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Databricks connection"),
Databricks: &dbtcloud.GlobalConnectionDatabricksArgs{
Host: pulumi.String("my-databricks-host.cloud.databricks.com"),
HttpPath: pulumi.String("/sql/my/http/path"),
Catalog: pulumi.String("dbt_catalog"),
ClientId: pulumi.String("yourclientid"),
ClientSecret: pulumi.String("yourclientsecret"),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "fabric", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Fabric connection"),
Fabric: &dbtcloud.GlobalConnectionFabricArgs{
Server: pulumi.String("my-fabric-server.com"),
Database: pulumi.String("mydb"),
Port: pulumi.Int(1234),
Retries: pulumi.Int(3),
LoginTimeout: pulumi.Int(60),
QueryTimeout: pulumi.Int(3600),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "postgres", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My PostgreSQL connection"),
Postgres: &dbtcloud.GlobalConnectionPostgresArgs{
Hostname: pulumi.String("my-postgresql-server.com"),
Port: pulumi.Int(5432),
Dbname: pulumi.String("my_database"),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "redshift", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Redshift connection"),
Redshift: &dbtcloud.GlobalConnectionRedshiftArgs{
Hostname: pulumi.String("my-redshift-connection.com"),
Port: pulumi.Int(5432),
Dbname: pulumi.String("my_database"),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "snowflake", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Snowflake connection"),
PrivateLinkEndpointId: pulumi.Any(myPrivateLink.Id),
Snowflake: &dbtcloud.GlobalConnectionSnowflakeArgs{
Account: pulumi.String("my-snowflake-account"),
Database: pulumi.String("MY_DATABASE"),
Warehouse: pulumi.String("MY_WAREHOUSE"),
ClientSessionKeepAlive: pulumi.Bool(false),
AllowSso: pulumi.Bool(true),
OauthClientId: pulumi.String("yourclientid"),
OauthClientSecret: pulumi.String("yourclientsecret"),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "starburst", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Starburst connection"),
Starburst: &dbtcloud.GlobalConnectionStarburstArgs{
Host: pulumi.String("my-starburst-host.com"),
Database: "mydb",
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "synapse", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Synapse connection"),
Synapse: &dbtcloud.GlobalConnectionSynapseArgs{
Host: pulumi.String("my-synapse-server.com"),
Database: pulumi.String("mydb"),
Port: pulumi.Int(1234),
Retries: pulumi.Int(3),
LoginTimeout: pulumi.Int(60),
QueryTimeout: pulumi.Int(3600),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "teradata", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My Teradata connection"),
Teradata: &dbtcloud.GlobalConnectionTeradataArgs{
Host: pulumi.String("my-teradata-server.com"),
Tmode: pulumi.String("ANSI"),
Port: pulumi.String("1234"),
RequestTimeout: pulumi.Int(600),
Retries: pulumi.Int(3),
},
})
if err != nil {
return err
}
_, err = dbtcloud.NewGlobalConnection(ctx, "clickhouse", &dbtcloud.GlobalConnectionArgs{
Name: pulumi.String("My ClickHouse connection"),
Clickhouse: &dbtcloud.GlobalConnectionClickhouseArgs{
Host: pulumi.String("my-clickhouse-server.com"),
Port: pulumi.Int(8443),
Database: pulumi.String("default"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DbtCloud = Pulumi.DbtCloud;
return await Deployment.RunAsync(() =>
{
var apacheSpark = new DbtCloud.GlobalConnection("apache_spark", new()
{
Name = "My Apache Spark connection",
ApacheSpark = new DbtCloud.Inputs.GlobalConnectionApacheSparkArgs
{
Method = "http",
Host = "my-spark-host.com",
Cluster = "my-cluster",
ConnectTimeout = 100,
},
});
var athena = new DbtCloud.GlobalConnection("athena", new()
{
Name = "My Athena connection",
Athena = new DbtCloud.Inputs.GlobalConnectionAthenaArgs
{
RegionName = "us-east-1",
Database = "mydatabase",
S3StagingDir = "s3://my-bucket/my-staging-dir/",
WorkGroup = "my_work_group",
S3DataDir = "s3://my-bucket/my-data-dir/",
},
});
// BigQuery connection with Service Account JSON authentication
var bigquery = new DbtCloud.GlobalConnection("bigquery", new()
{
Name = "My BigQuery connection",
Bigquery = new DbtCloud.Inputs.GlobalConnectionBigqueryArgs
{
GcpProjectId = "my-gcp-project-id",
TimeoutSeconds = 1000,
PrivateKeyId = "my-private-key-id",
PrivateKey = "ABCDEFGHIJKL",
ClientEmail = "my_client_email",
ClientId = "my_client_id",
AuthUri = "my_auth_uri",
TokenUri = "my_token_uri",
AuthProviderX509CertUrl = "my_auth_provider_x509_cert_url",
ClientX509CertUrl = "my_client_x509_cert_url",
DeploymentEnvAuthType = "service-account-json",
},
});
// BigQuery connection with Native OAuth for development environments.
// application_id and application_secret are the client ID and secret of the OAuth
// application. Each developer then authorizes the application in dbt.
var bigqueryNativeOauth = new DbtCloud.GlobalConnection("bigquery_native_oauth", new()
{
Name = "My BigQuery Native OAuth connection",
Bigquery = new DbtCloud.Inputs.GlobalConnectionBigqueryArgs
{
GcpProjectId = "my-gcp-project-id",
ApplicationId = "my-oauth-client-id",
ApplicationSecret = "my-oauth-client-secret",
PrivateKeyId = "my-private-key-id",
PrivateKey = "ABCDEFGHIJKL",
ClientEmail = "my_client_email",
ClientId = "my_client_id",
AuthUri = "my_auth_uri",
TokenUri = "my_token_uri",
AuthProviderX509CertUrl = "my_auth_provider_x509_cert_url",
ClientX509CertUrl = "my_client_x509_cert_url",
},
});
// BigQuery connection over Private Service Connect.
// api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
// which endpoint the connection uses. Set both fields.
var bigqueryPsc = DbtCloud.GetPrivatelinkEndpoint.Invoke(new()
{
Name = "My BigQuery PSC endpoint",
});
var bigqueryPrivateLink = new DbtCloud.GlobalConnection("bigquery_private_link", new()
{
Name = "My BigQuery PrivateLink connection",
PrivateLinkEndpointId = bigqueryPsc.Apply(getPrivatelinkEndpointResult => getPrivatelinkEndpointResult.Id),
Bigquery = new DbtCloud.Inputs.GlobalConnectionBigqueryArgs
{
GcpProjectId = "my-gcp-project-id",
ApiEndpoint = bigqueryPsc.Apply(getPrivatelinkEndpointResult => getPrivatelinkEndpointResult.PrivateLinkEndpointUrl),
PrivateKeyId = "my-private-key-id",
PrivateKey = "ABCDEFGHIJKL",
ClientEmail = "my_client_email",
ClientId = "my_client_id",
AuthUri = "my_auth_uri",
TokenUri = "my_token_uri",
AuthProviderX509CertUrl = "my_auth_provider_x509_cert_url",
ClientX509CertUrl = "my_client_x509_cert_url",
},
});
// BigQuery connection with External OAuth (Workload Identity Federation)
// TODO: Currently the API still requires service account fields even with external-oauth-wif
var bigqueryWif = new DbtCloud.GlobalConnection("bigquery_wif", new()
{
Name = "My BigQuery WIF connection",
Bigquery = new DbtCloud.Inputs.GlobalConnectionBigqueryArgs
{
GcpProjectId = "my-gcp-project-id",
ApplicationId = "oauth_application_id",
ApplicationSecret = "oauth_secret_id",
DeploymentEnvAuthType = "external-oauth-wif",
PrivateKeyId = "my-private-key-id",
PrivateKey = "ABCDEFGHIJKL",
ClientEmail = "my_client_email",
ClientId = "my_client_id",
AuthUri = "my_auth_uri",
TokenUri = "my_token_uri",
AuthProviderX509CertUrl = "my_auth_provider_x509_cert_url",
ClientX509CertUrl = "my_client_x509_cert_url",
},
});
var databricks = new DbtCloud.GlobalConnection("databricks", new()
{
Name = "My Databricks connection",
Databricks = new DbtCloud.Inputs.GlobalConnectionDatabricksArgs
{
Host = "my-databricks-host.cloud.databricks.com",
HttpPath = "/sql/my/http/path",
Catalog = "dbt_catalog",
ClientId = "yourclientid",
ClientSecret = "yourclientsecret",
},
});
var fabric = new DbtCloud.GlobalConnection("fabric", new()
{
Name = "My Fabric connection",
Fabric = new DbtCloud.Inputs.GlobalConnectionFabricArgs
{
Server = "my-fabric-server.com",
Database = "mydb",
Port = 1234,
Retries = 3,
LoginTimeout = 60,
QueryTimeout = 3600,
},
});
var postgres = new DbtCloud.GlobalConnection("postgres", new()
{
Name = "My PostgreSQL connection",
Postgres = new DbtCloud.Inputs.GlobalConnectionPostgresArgs
{
Hostname = "my-postgresql-server.com",
Port = 5432,
Dbname = "my_database",
},
});
var redshift = new DbtCloud.GlobalConnection("redshift", new()
{
Name = "My Redshift connection",
Redshift = new DbtCloud.Inputs.GlobalConnectionRedshiftArgs
{
Hostname = "my-redshift-connection.com",
Port = 5432,
Dbname = "my_database",
},
});
var snowflake = new DbtCloud.GlobalConnection("snowflake", new()
{
Name = "My Snowflake connection",
PrivateLinkEndpointId = myPrivateLink.Id,
Snowflake = new DbtCloud.Inputs.GlobalConnectionSnowflakeArgs
{
Account = "my-snowflake-account",
Database = "MY_DATABASE",
Warehouse = "MY_WAREHOUSE",
ClientSessionKeepAlive = false,
AllowSso = true,
OauthClientId = "yourclientid",
OauthClientSecret = "yourclientsecret",
},
});
var starburst = new DbtCloud.GlobalConnection("starburst", new()
{
Name = "My Starburst connection",
Starburst = new DbtCloud.Inputs.GlobalConnectionStarburstArgs
{
Host = "my-starburst-host.com",
Database = "mydb",
},
});
var synapse = new DbtCloud.GlobalConnection("synapse", new()
{
Name = "My Synapse connection",
Synapse = new DbtCloud.Inputs.GlobalConnectionSynapseArgs
{
Host = "my-synapse-server.com",
Database = "mydb",
Port = 1234,
Retries = 3,
LoginTimeout = 60,
QueryTimeout = 3600,
},
});
var teradata = new DbtCloud.GlobalConnection("teradata", new()
{
Name = "My Teradata connection",
Teradata = new DbtCloud.Inputs.GlobalConnectionTeradataArgs
{
Host = "my-teradata-server.com",
Tmode = "ANSI",
Port = "1234",
RequestTimeout = 600,
Retries = 3,
},
});
var clickhouse = new DbtCloud.GlobalConnection("clickhouse", new()
{
Name = "My ClickHouse connection",
Clickhouse = new DbtCloud.Inputs.GlobalConnectionClickhouseArgs
{
Host = "my-clickhouse-server.com",
Port = 8443,
Database = "default",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.GlobalConnection;
import com.pulumi.dbtcloud.GlobalConnectionArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionApacheSparkArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionAthenaArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionBigqueryArgs;
import com.pulumi.dbtcloud.DbtcloudFunctions;
import com.pulumi.dbtcloud.inputs.GetPrivatelinkEndpointArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionDatabricksArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionFabricArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionPostgresArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionRedshiftArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionSnowflakeArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionStarburstArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionSynapseArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionTeradataArgs;
import com.pulumi.dbtcloud.inputs.GlobalConnectionClickhouseArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var apacheSpark = new GlobalConnection("apacheSpark", GlobalConnectionArgs.builder()
.name("My Apache Spark connection")
.apacheSpark(GlobalConnectionApacheSparkArgs.builder()
.method("http")
.host("my-spark-host.com")
.cluster("my-cluster")
.connectTimeout(100)
.build())
.build());
var athena = new GlobalConnection("athena", GlobalConnectionArgs.builder()
.name("My Athena connection")
.athena(GlobalConnectionAthenaArgs.builder()
.regionName("us-east-1")
.database("mydatabase")
.s3StagingDir("s3://my-bucket/my-staging-dir/")
.workGroup("my_work_group")
.s3DataDir("s3://my-bucket/my-data-dir/")
.build())
.build());
// BigQuery connection with Service Account JSON authentication
var bigquery = new GlobalConnection("bigquery", GlobalConnectionArgs.builder()
.name("My BigQuery connection")
.bigquery(GlobalConnectionBigqueryArgs.builder()
.gcpProjectId("my-gcp-project-id")
.timeoutSeconds(1000)
.privateKeyId("my-private-key-id")
.privateKey("ABCDEFGHIJKL")
.clientEmail("my_client_email")
.clientId("my_client_id")
.authUri("my_auth_uri")
.tokenUri("my_token_uri")
.authProviderX509CertUrl("my_auth_provider_x509_cert_url")
.clientX509CertUrl("my_client_x509_cert_url")
.deploymentEnvAuthType("service-account-json")
.build())
.build());
// BigQuery connection with Native OAuth for development environments.
// application_id and application_secret are the client ID and secret of the OAuth
// application. Each developer then authorizes the application in dbt.
var bigqueryNativeOauth = new GlobalConnection("bigqueryNativeOauth", GlobalConnectionArgs.builder()
.name("My BigQuery Native OAuth connection")
.bigquery(GlobalConnectionBigqueryArgs.builder()
.gcpProjectId("my-gcp-project-id")
.applicationId("my-oauth-client-id")
.applicationSecret("my-oauth-client-secret")
.privateKeyId("my-private-key-id")
.privateKey("ABCDEFGHIJKL")
.clientEmail("my_client_email")
.clientId("my_client_id")
.authUri("my_auth_uri")
.tokenUri("my_token_uri")
.authProviderX509CertUrl("my_auth_provider_x509_cert_url")
.clientX509CertUrl("my_client_x509_cert_url")
.build())
.build());
// BigQuery connection over Private Service Connect.
// api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
// which endpoint the connection uses. Set both fields.
final var bigqueryPsc = DbtcloudFunctions.getPrivatelinkEndpoint(GetPrivatelinkEndpointArgs.builder()
.name("My BigQuery PSC endpoint")
.build());
var bigqueryPrivateLink = new GlobalConnection("bigqueryPrivateLink", GlobalConnectionArgs.builder()
.name("My BigQuery PrivateLink connection")
.privateLinkEndpointId(bigqueryPsc.id())
.bigquery(GlobalConnectionBigqueryArgs.builder()
.gcpProjectId("my-gcp-project-id")
.apiEndpoint(bigqueryPsc.privateLinkEndpointUrl())
.privateKeyId("my-private-key-id")
.privateKey("ABCDEFGHIJKL")
.clientEmail("my_client_email")
.clientId("my_client_id")
.authUri("my_auth_uri")
.tokenUri("my_token_uri")
.authProviderX509CertUrl("my_auth_provider_x509_cert_url")
.clientX509CertUrl("my_client_x509_cert_url")
.build())
.build());
// BigQuery connection with External OAuth (Workload Identity Federation)
// TODO: Currently the API still requires service account fields even with external-oauth-wif
var bigqueryWif = new GlobalConnection("bigqueryWif", GlobalConnectionArgs.builder()
.name("My BigQuery WIF connection")
.bigquery(GlobalConnectionBigqueryArgs.builder()
.gcpProjectId("my-gcp-project-id")
.applicationId("oauth_application_id")
.applicationSecret("oauth_secret_id")
.deploymentEnvAuthType("external-oauth-wif")
.privateKeyId("my-private-key-id")
.privateKey("ABCDEFGHIJKL")
.clientEmail("my_client_email")
.clientId("my_client_id")
.authUri("my_auth_uri")
.tokenUri("my_token_uri")
.authProviderX509CertUrl("my_auth_provider_x509_cert_url")
.clientX509CertUrl("my_client_x509_cert_url")
.build())
.build());
var databricks = new GlobalConnection("databricks", GlobalConnectionArgs.builder()
.name("My Databricks connection")
.databricks(GlobalConnectionDatabricksArgs.builder()
.host("my-databricks-host.cloud.databricks.com")
.httpPath("/sql/my/http/path")
.catalog("dbt_catalog")
.clientId("yourclientid")
.clientSecret("yourclientsecret")
.build())
.build());
var fabric = new GlobalConnection("fabric", GlobalConnectionArgs.builder()
.name("My Fabric connection")
.fabric(GlobalConnectionFabricArgs.builder()
.server("my-fabric-server.com")
.database("mydb")
.port(1234)
.retries(3)
.loginTimeout(60)
.queryTimeout(3600)
.build())
.build());
var postgres = new GlobalConnection("postgres", GlobalConnectionArgs.builder()
.name("My PostgreSQL connection")
.postgres(GlobalConnectionPostgresArgs.builder()
.hostname("my-postgresql-server.com")
.port(5432)
.dbname("my_database")
.build())
.build());
var redshift = new GlobalConnection("redshift", GlobalConnectionArgs.builder()
.name("My Redshift connection")
.redshift(GlobalConnectionRedshiftArgs.builder()
.hostname("my-redshift-connection.com")
.port(5432)
.dbname("my_database")
.build())
.build());
var snowflake = new GlobalConnection("snowflake", GlobalConnectionArgs.builder()
.name("My Snowflake connection")
.privateLinkEndpointId(myPrivateLink.get("id"))
.snowflake(GlobalConnectionSnowflakeArgs.builder()
.account("my-snowflake-account")
.database("MY_DATABASE")
.warehouse("MY_WAREHOUSE")
.clientSessionKeepAlive(false)
.allowSso(true)
.oauthClientId("yourclientid")
.oauthClientSecret("yourclientsecret")
.build())
.build());
var starburst = new GlobalConnection("starburst", GlobalConnectionArgs.builder()
.name("My Starburst connection")
.starburst(GlobalConnectionStarburstArgs.builder()
.host("my-starburst-host.com")
.database("mydb")
.build())
.build());
var synapse = new GlobalConnection("synapse", GlobalConnectionArgs.builder()
.name("My Synapse connection")
.synapse(GlobalConnectionSynapseArgs.builder()
.host("my-synapse-server.com")
.database("mydb")
.port(1234)
.retries(3)
.loginTimeout(60)
.queryTimeout(3600)
.build())
.build());
var teradata = new GlobalConnection("teradata", GlobalConnectionArgs.builder()
.name("My Teradata connection")
.teradata(GlobalConnectionTeradataArgs.builder()
.host("my-teradata-server.com")
.tmode("ANSI")
.port("1234")
.requestTimeout(600)
.retries(3)
.build())
.build());
var clickhouse = new GlobalConnection("clickhouse", GlobalConnectionArgs.builder()
.name("My ClickHouse connection")
.clickhouse(GlobalConnectionClickhouseArgs.builder()
.host("my-clickhouse-server.com")
.port(8443)
.database("default")
.build())
.build());
}
}
resources:
apacheSpark:
type: dbtcloud:GlobalConnection
name: apache_spark
properties:
name: My Apache Spark connection
apacheSpark:
method: http
host: my-spark-host.com
cluster: my-cluster
connectTimeout: 100
athena:
type: dbtcloud:GlobalConnection
properties:
name: My Athena connection
athena:
regionName: us-east-1
database: mydatabase
s3StagingDir: s3://my-bucket/my-staging-dir/
workGroup: my_work_group
s3DataDir: s3://my-bucket/my-data-dir/
# BigQuery connection with Service Account JSON authentication
bigquery:
type: dbtcloud:GlobalConnection
properties:
name: My BigQuery connection
bigquery:
gcpProjectId: my-gcp-project-id
timeoutSeconds: 1000
privateKeyId: my-private-key-id
privateKey: ABCDEFGHIJKL
clientEmail: my_client_email
clientId: my_client_id
authUri: my_auth_uri
tokenUri: my_token_uri
authProviderX509CertUrl: my_auth_provider_x509_cert_url
clientX509CertUrl: my_client_x509_cert_url
deploymentEnvAuthType: service-account-json
# BigQuery connection with Native OAuth for development environments.
# // application_id and application_secret are the client ID and secret of the OAuth
# // application. Each developer then authorizes the application in dbt.
bigqueryNativeOauth:
type: dbtcloud:GlobalConnection
name: bigquery_native_oauth
properties:
name: My BigQuery Native OAuth connection
bigquery:
gcpProjectId: my-gcp-project-id
applicationId: my-oauth-client-id
applicationSecret: my-oauth-client-secret
privateKeyId: my-private-key-id
privateKey: ABCDEFGHIJKL
clientEmail: my_client_email
clientId: my_client_id
authUri: my_auth_uri
tokenUri: my_token_uri
authProviderX509CertUrl: my_auth_provider_x509_cert_url
clientX509CertUrl: my_client_x509_cert_url
bigqueryPrivateLink:
type: dbtcloud:GlobalConnection
name: bigquery_private_link
properties:
name: My BigQuery PrivateLink connection
privateLinkEndpointId: ${bigqueryPsc.id}
bigquery:
gcpProjectId: my-gcp-project-id
apiEndpoint: ${bigqueryPsc.privateLinkEndpointUrl}
privateKeyId: my-private-key-id
privateKey: ABCDEFGHIJKL
clientEmail: my_client_email
clientId: my_client_id
authUri: my_auth_uri
tokenUri: my_token_uri
authProviderX509CertUrl: my_auth_provider_x509_cert_url
clientX509CertUrl: my_client_x509_cert_url
# BigQuery connection with External OAuth (Workload Identity Federation)
# // TODO: Currently the API still requires service account fields even with external-oauth-wif
bigqueryWif:
type: dbtcloud:GlobalConnection
name: bigquery_wif
properties:
name: My BigQuery WIF connection
bigquery:
gcpProjectId: my-gcp-project-id
applicationId: oauth_application_id
applicationSecret: oauth_secret_id
deploymentEnvAuthType: external-oauth-wif
privateKeyId: my-private-key-id
privateKey: ABCDEFGHIJKL
clientEmail: my_client_email
clientId: my_client_id
authUri: my_auth_uri
tokenUri: my_token_uri
authProviderX509CertUrl: my_auth_provider_x509_cert_url
clientX509CertUrl: my_client_x509_cert_url
databricks:
type: dbtcloud:GlobalConnection
properties:
name: My Databricks connection
databricks:
host: my-databricks-host.cloud.databricks.com
httpPath: /sql/my/http/path
catalog: dbt_catalog
clientId: yourclientid
clientSecret: yourclientsecret
fabric:
type: dbtcloud:GlobalConnection
properties:
name: My Fabric connection
fabric:
server: my-fabric-server.com
database: mydb
port: 1234
retries: 3
loginTimeout: 60
queryTimeout: 3600
postgres:
type: dbtcloud:GlobalConnection
properties:
name: My PostgreSQL connection
postgres:
hostname: my-postgresql-server.com
port: 5432
dbname: my_database
redshift:
type: dbtcloud:GlobalConnection
properties:
name: My Redshift connection
redshift:
hostname: my-redshift-connection.com
port: 5432
dbname: my_database
snowflake:
type: dbtcloud:GlobalConnection
properties:
name: My Snowflake connection
privateLinkEndpointId: ${myPrivateLink.id}
snowflake:
account: my-snowflake-account
database: MY_DATABASE
warehouse: MY_WAREHOUSE
clientSessionKeepAlive: false
allowSso: true
oauthClientId: yourclientid
oauthClientSecret: yourclientsecret
starburst:
type: dbtcloud:GlobalConnection
properties:
name: My Starburst connection
starburst:
host: my-starburst-host.com
database: mydb
synapse:
type: dbtcloud:GlobalConnection
properties:
name: My Synapse connection
synapse:
host: my-synapse-server.com
database: mydb
port: 1234
retries: 3
loginTimeout: 60
queryTimeout: 3600
teradata:
type: dbtcloud:GlobalConnection
properties:
name: My Teradata connection
teradata:
host: my-teradata-server.com
tmode: ANSI
port: '1234'
requestTimeout: 600
retries: 3
clickhouse:
type: dbtcloud:GlobalConnection
properties:
name: My ClickHouse connection
clickhouse:
host: my-clickhouse-server.com
port: 8443
database: default
variables:
# BigQuery connection over Private Service Connect.
# // api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
# // which endpoint the connection uses. Set both fields.
bigqueryPsc:
fn::invoke:
function: dbtcloud:getPrivatelinkEndpoint
arguments:
name: My BigQuery PSC endpoint
terraform {
required_providers {
dbtcloud = {
source = "pulumi/dbtcloud"
}
}
}
data "dbtcloud_privatelink_endpoint" "bigqueryPsc" {
name = "My BigQuery PSC endpoint"
}
resource "dbtcloud_global_connection" "apache_spark" {
lifecycle {
create_before_destroy = true
}
name = "My Apache Spark connection"
apache_spark = {
method = "http"
host = "my-spark-host.com"
cluster = "my-cluster"
connect_timeout = 100
}
}
resource "dbtcloud_global_connection" "athena" {
lifecycle {
create_before_destroy = true
}
name = "My Athena connection"
athena = {
region_name = "us-east-1"
database = "mydatabase"
s3_staging_dir = "s3://my-bucket/my-staging-dir/"
work_group = "my_work_group"
s3_data_dir = "s3://my-bucket/my-data-dir/"
}
}
// BigQuery connection with Service Account JSON authentication
resource "dbtcloud_global_connection" "bigquery" {
lifecycle {
create_before_destroy = true
}
name = "My BigQuery connection"
bigquery = {
gcp_project_id = "my-gcp-project-id"
timeout_seconds = 1000
private_key_id = "my-private-key-id"
private_key = "ABCDEFGHIJKL"
client_email = "my_client_email"
client_id = "my_client_id"
auth_uri = "my_auth_uri"
token_uri = "my_token_uri"
auth_provider_x509_cert_url = "my_auth_provider_x509_cert_url"
client_x509_cert_url = "my_client_x509_cert_url"
deployment_env_auth_type = "service-account-json"
}
}
// BigQuery connection with Native OAuth for development environments.
// application_id and application_secret are the client ID and secret of the OAuth
// application. Each developer then authorizes the application in dbt.
resource "dbtcloud_global_connection" "bigquery_native_oauth" {
lifecycle {
create_before_destroy = true
}
name = "My BigQuery Native OAuth connection"
bigquery = {
gcp_project_id = "my-gcp-project-id"
application_id = "my-oauth-client-id"
application_secret = "my-oauth-client-secret"
private_key_id = "my-private-key-id"
private_key = "ABCDEFGHIJKL"
client_email = "my_client_email"
client_id = "my_client_id"
auth_uri = "my_auth_uri"
token_uri = "my_token_uri"
auth_provider_x509_cert_url = "my_auth_provider_x509_cert_url"
client_x509_cert_url = "my_client_x509_cert_url"
}
}
resource "dbtcloud_global_connection" "bigquery_private_link" {
lifecycle {
create_before_destroy = true
}
name = "My BigQuery PrivateLink connection"
private_link_endpoint_id = data.dbtcloud_privatelink_endpoint.bigqueryPsc.id
bigquery = {
gcp_project_id = "my-gcp-project-id"
api_endpoint = data.dbtcloud_privatelink_endpoint.bigqueryPsc.private_link_endpoint_url
private_key_id = "my-private-key-id"
private_key = "ABCDEFGHIJKL"
client_email = "my_client_email"
client_id = "my_client_id"
auth_uri = "my_auth_uri"
token_uri = "my_token_uri"
auth_provider_x509_cert_url = "my_auth_provider_x509_cert_url"
client_x509_cert_url = "my_client_x509_cert_url"
}
}
// BigQuery connection with External OAuth (Workload Identity Federation)
// TODO: Currently the API still requires service account fields even with external-oauth-wif
resource "dbtcloud_global_connection" "bigquery_wif" {
lifecycle {
create_before_destroy = true
}
name = "My BigQuery WIF connection"
bigquery = {
gcp_project_id = "my-gcp-project-id"
application_id = "oauth_application_id"
application_secret = "oauth_secret_id"
deployment_env_auth_type = "external-oauth-wif"
private_key_id = "my-private-key-id"
private_key = "ABCDEFGHIJKL"
client_email = "my_client_email"
client_id = "my_client_id"
auth_uri = "my_auth_uri"
token_uri = "my_token_uri"
auth_provider_x509_cert_url = "my_auth_provider_x509_cert_url"
client_x509_cert_url = "my_client_x509_cert_url"
}
}
resource "dbtcloud_global_connection" "databricks" {
lifecycle {
create_before_destroy = true
}
name = "My Databricks connection"
databricks = {
host = "my-databricks-host.cloud.databricks.com"
http_path = "/sql/my/http/path"
catalog = "dbt_catalog"
client_id = "yourclientid"
client_secret = "yourclientsecret"
}
}
resource "dbtcloud_global_connection" "fabric" {
lifecycle {
create_before_destroy = true
}
name = "My Fabric connection"
fabric = {
server = "my-fabric-server.com"
database = "mydb"
port = 1234
retries = 3
login_timeout = 60
query_timeout = 3600
}
}
resource "dbtcloud_global_connection" "postgres" {
lifecycle {
create_before_destroy = true
}
name = "My PostgreSQL connection"
postgres = {
hostname = "my-postgresql-server.com"
port = 5432
dbname = "my_database"
}
}
resource "dbtcloud_global_connection" "redshift" {
lifecycle {
create_before_destroy = true
}
name = "My Redshift connection"
redshift = {
hostname = "my-redshift-connection.com"
port = 5432
dbname = "my_database"
}
}
resource "dbtcloud_global_connection" "snowflake" {
lifecycle {
create_before_destroy = true
}
name = "My Snowflake connection"
private_link_endpoint_id = myPrivateLink.id
snowflake = {
account = "my-snowflake-account"
database = "MY_DATABASE"
warehouse = "MY_WAREHOUSE"
client_session_keep_alive = false
allow_sso = true
oauth_client_id = "yourclientid"
oauth_client_secret = "yourclientsecret"
}
}
resource "dbtcloud_global_connection" "starburst" {
lifecycle {
create_before_destroy = true
}
name = "My Starburst connection"
starburst = {
host = "my-starburst-host.com"
database = "mydb"
}
}
resource "dbtcloud_global_connection" "synapse" {
lifecycle {
create_before_destroy = true
}
name = "My Synapse connection"
synapse = {
host = "my-synapse-server.com"
database = "mydb"
port = 1234
retries = 3
login_timeout = 60
query_timeout = 3600
}
}
resource "dbtcloud_global_connection" "teradata" {
lifecycle {
create_before_destroy = true
}
name = "My Teradata connection"
teradata = {
host = "my-teradata-server.com"
tmode = "ANSI"
port = "1234"
request_timeout = 600
retries = 3
}
}
resource "dbtcloud_global_connection" "clickhouse" {
lifecycle {
create_before_destroy = true
}
name = "My ClickHouse connection"
clickhouse = {
host = "my-clickhouse-server.com"
port = 8443
database = "default"
}
}
// BigQuery connection over Private Service Connect.
// api_endpoint routes the traffic to the endpoint. private_link_endpoint_id records
// which endpoint the connection uses. Set both fields.
Create GlobalConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GlobalConnection(name: string, args?: GlobalConnectionArgs, opts?: CustomResourceOptions);@overload
def GlobalConnection(resource_name: str,
args: Optional[GlobalConnectionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GlobalConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
apache_spark: Optional[GlobalConnectionApacheSparkArgs] = None,
athena: Optional[GlobalConnectionAthenaArgs] = None,
bigquery: Optional[GlobalConnectionBigqueryArgs] = None,
clickhouse: Optional[GlobalConnectionClickhouseArgs] = None,
databricks: Optional[GlobalConnectionDatabricksArgs] = None,
fabric: Optional[GlobalConnectionFabricArgs] = None,
name: Optional[str] = None,
oauth_configuration_id: Optional[int] = None,
postgres: Optional[GlobalConnectionPostgresArgs] = None,
private_link_endpoint_id: Optional[str] = None,
redshift: Optional[GlobalConnectionRedshiftArgs] = None,
salesforce: Optional[GlobalConnectionSalesforceArgs] = None,
snowflake: Optional[GlobalConnectionSnowflakeArgs] = None,
starburst: Optional[GlobalConnectionStarburstArgs] = None,
synapse: Optional[GlobalConnectionSynapseArgs] = None,
teradata: Optional[GlobalConnectionTeradataArgs] = None)func NewGlobalConnection(ctx *Context, name string, args *GlobalConnectionArgs, opts ...ResourceOption) (*GlobalConnection, error)public GlobalConnection(string name, GlobalConnectionArgs? args = null, CustomResourceOptions? opts = null)
public GlobalConnection(String name, GlobalConnectionArgs args)
public GlobalConnection(String name, GlobalConnectionArgs args, CustomResourceOptions options)
type: dbtcloud:GlobalConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dbtcloud_global_connection" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GlobalConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GlobalConnectionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GlobalConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GlobalConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GlobalConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var globalConnectionResource = new DbtCloud.GlobalConnection("globalConnectionResource", new()
{
ApacheSpark = new DbtCloud.Inputs.GlobalConnectionApacheSparkArgs
{
Cluster = "string",
Host = "string",
Method = "string",
Auth = "string",
ConnectRetries = 0,
ConnectTimeout = 0,
Organization = "string",
Port = 0,
User = "string",
},
Athena = new DbtCloud.Inputs.GlobalConnectionAthenaArgs
{
Database = "string",
RegionName = "string",
S3StagingDir = "string",
NumBoto3Retries = 0,
NumIcebergRetries = 0,
NumRetries = 0,
PollInterval = 0,
S3DataDir = "string",
S3DataNaming = "string",
S3TmpTableDir = "string",
SparkWorkGroup = "string",
WorkGroup = "string",
},
Bigquery = new DbtCloud.Inputs.GlobalConnectionBigqueryArgs
{
GcpProjectId = "string",
ImpersonateServiceAccount = "string",
Priority = "string",
AuthProviderX509CertUrl = "string",
AuthUri = "string",
ClientEmail = "string",
ClientId = "string",
ClientX509CertUrl = "string",
DataprocClusterName = "string",
DataprocRegion = "string",
DeploymentEnvAuthType = "string",
ExecutionProject = "string",
ApplicationId = "string",
GcsBucket = "string",
ApiEndpoint = "string",
ApplicationSecret = "string",
JobRetryDeadlineSeconds = 0,
JobCreationTimeoutSeconds = 0,
Location = "string",
MaximumBytesBilled = 0,
JobExecutionTimeoutSeconds = 0,
PrivateKey = "string",
PrivateKeyId = "string",
PrivateKeyWo = "string",
PrivateKeyWoVersion = 0,
Retries = 0,
Scopes = new[]
{
"string",
},
TimeoutSeconds = 0,
TokenUri = "string",
UseLatestAdapter = false,
},
Clickhouse = new DbtCloud.Inputs.GlobalConnectionClickhouseArgs
{
Host = "string",
Database = "string",
Port = 0,
},
Databricks = new DbtCloud.Inputs.GlobalConnectionDatabricksArgs
{
Host = "string",
HttpPath = "string",
Catalog = "string",
ClientId = "string",
ClientSecret = "string",
Scopes = new[]
{
"string",
},
},
Fabric = new DbtCloud.Inputs.GlobalConnectionFabricArgs
{
Database = "string",
Server = "string",
LoginTimeout = 0,
Port = 0,
QueryTimeout = 0,
Retries = 0,
},
Name = "string",
OauthConfigurationId = 0,
Postgres = new DbtCloud.Inputs.GlobalConnectionPostgresArgs
{
Dbname = "string",
Hostname = "string",
Port = 0,
SshTunnel = new DbtCloud.Inputs.GlobalConnectionPostgresSshTunnelArgs
{
Hostname = "string",
Port = 0,
Username = "string",
Id = 0,
PublicKey = "string",
},
},
PrivateLinkEndpointId = "string",
Redshift = new DbtCloud.Inputs.GlobalConnectionRedshiftArgs
{
Dbname = "string",
Hostname = "string",
Port = 0,
SshTunnel = new DbtCloud.Inputs.GlobalConnectionRedshiftSshTunnelArgs
{
Hostname = "string",
Port = 0,
Username = "string",
Id = 0,
PublicKey = "string",
},
},
Salesforce = new DbtCloud.Inputs.GlobalConnectionSalesforceArgs
{
LoginUrl = "string",
DataTransformRunTimeout = 0,
Database = "string",
},
Snowflake = new DbtCloud.Inputs.GlobalConnectionSnowflakeArgs
{
Account = "string",
Database = "string",
Warehouse = "string",
AllowSso = false,
ClientSessionKeepAlive = false,
OauthClientId = "string",
OauthClientSecret = "string",
Role = "string",
},
Starburst = new DbtCloud.Inputs.GlobalConnectionStarburstArgs
{
Host = "string",
Method = "string",
Port = 0,
},
Synapse = new DbtCloud.Inputs.GlobalConnectionSynapseArgs
{
Database = "string",
Host = "string",
LoginTimeout = 0,
Port = 0,
QueryTimeout = 0,
Retries = 0,
},
Teradata = new DbtCloud.Inputs.GlobalConnectionTeradataArgs
{
Host = "string",
Tmode = "string",
Port = "string",
RequestTimeout = 0,
Retries = 0,
},
});
example, err := dbtcloud.NewGlobalConnection(ctx, "globalConnectionResource", &dbtcloud.GlobalConnectionArgs{
ApacheSpark: &dbtcloud.GlobalConnectionApacheSparkArgs{
Cluster: pulumi.String("string"),
Host: pulumi.String("string"),
Method: pulumi.String("string"),
Auth: pulumi.String("string"),
ConnectRetries: pulumi.Int(0),
ConnectTimeout: pulumi.Int(0),
Organization: pulumi.String("string"),
Port: pulumi.Int(0),
User: pulumi.String("string"),
},
Athena: &dbtcloud.GlobalConnectionAthenaArgs{
Database: pulumi.String("string"),
RegionName: pulumi.String("string"),
S3StagingDir: pulumi.String("string"),
NumBoto3Retries: pulumi.Int(0),
NumIcebergRetries: pulumi.Int(0),
NumRetries: pulumi.Int(0),
PollInterval: pulumi.Int(0),
S3DataDir: pulumi.String("string"),
S3DataNaming: pulumi.String("string"),
S3TmpTableDir: pulumi.String("string"),
SparkWorkGroup: pulumi.String("string"),
WorkGroup: pulumi.String("string"),
},
Bigquery: &dbtcloud.GlobalConnectionBigqueryArgs{
GcpProjectId: pulumi.String("string"),
ImpersonateServiceAccount: pulumi.String("string"),
Priority: pulumi.String("string"),
AuthProviderX509CertUrl: pulumi.String("string"),
AuthUri: pulumi.String("string"),
ClientEmail: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientX509CertUrl: pulumi.String("string"),
DataprocClusterName: pulumi.String("string"),
DataprocRegion: pulumi.String("string"),
DeploymentEnvAuthType: pulumi.String("string"),
ExecutionProject: pulumi.String("string"),
ApplicationId: pulumi.String("string"),
GcsBucket: pulumi.String("string"),
ApiEndpoint: pulumi.String("string"),
ApplicationSecret: pulumi.String("string"),
JobRetryDeadlineSeconds: pulumi.Int(0),
JobCreationTimeoutSeconds: pulumi.Int(0),
Location: pulumi.String("string"),
MaximumBytesBilled: pulumi.Int(0),
JobExecutionTimeoutSeconds: pulumi.Int(0),
PrivateKey: pulumi.String("string"),
PrivateKeyId: pulumi.String("string"),
PrivateKeyWo: pulumi.String("string"),
PrivateKeyWoVersion: pulumi.Int(0),
Retries: pulumi.Int(0),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
TimeoutSeconds: pulumi.Int(0),
TokenUri: pulumi.String("string"),
UseLatestAdapter: pulumi.Bool(false),
},
Clickhouse: &dbtcloud.GlobalConnectionClickhouseArgs{
Host: pulumi.String("string"),
Database: pulumi.String("string"),
Port: pulumi.Int(0),
},
Databricks: &dbtcloud.GlobalConnectionDatabricksArgs{
Host: pulumi.String("string"),
HttpPath: pulumi.String("string"),
Catalog: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
},
Fabric: &dbtcloud.GlobalConnectionFabricArgs{
Database: pulumi.String("string"),
Server: pulumi.String("string"),
LoginTimeout: pulumi.Int(0),
Port: pulumi.Int(0),
QueryTimeout: pulumi.Int(0),
Retries: pulumi.Int(0),
},
Name: pulumi.String("string"),
OauthConfigurationId: pulumi.Int(0),
Postgres: &dbtcloud.GlobalConnectionPostgresArgs{
Dbname: pulumi.String("string"),
Hostname: pulumi.String("string"),
Port: pulumi.Int(0),
SshTunnel: &dbtcloud.GlobalConnectionPostgresSshTunnelArgs{
Hostname: pulumi.String("string"),
Port: pulumi.Int(0),
Username: pulumi.String("string"),
Id: pulumi.Int(0),
PublicKey: pulumi.String("string"),
},
},
PrivateLinkEndpointId: pulumi.String("string"),
Redshift: &dbtcloud.GlobalConnectionRedshiftArgs{
Dbname: pulumi.String("string"),
Hostname: pulumi.String("string"),
Port: pulumi.Int(0),
SshTunnel: &dbtcloud.GlobalConnectionRedshiftSshTunnelArgs{
Hostname: pulumi.String("string"),
Port: pulumi.Int(0),
Username: pulumi.String("string"),
Id: pulumi.Int(0),
PublicKey: pulumi.String("string"),
},
},
Salesforce: &dbtcloud.GlobalConnectionSalesforceArgs{
LoginUrl: pulumi.String("string"),
DataTransformRunTimeout: pulumi.Int(0),
Database: pulumi.String("string"),
},
Snowflake: &dbtcloud.GlobalConnectionSnowflakeArgs{
Account: pulumi.String("string"),
Database: pulumi.String("string"),
Warehouse: pulumi.String("string"),
AllowSso: pulumi.Bool(false),
ClientSessionKeepAlive: pulumi.Bool(false),
OauthClientId: pulumi.String("string"),
OauthClientSecret: pulumi.String("string"),
Role: pulumi.String("string"),
},
Starburst: &dbtcloud.GlobalConnectionStarburstArgs{
Host: pulumi.String("string"),
Method: pulumi.String("string"),
Port: pulumi.Int(0),
},
Synapse: &dbtcloud.GlobalConnectionSynapseArgs{
Database: pulumi.String("string"),
Host: pulumi.String("string"),
LoginTimeout: pulumi.Int(0),
Port: pulumi.Int(0),
QueryTimeout: pulumi.Int(0),
Retries: pulumi.Int(0),
},
Teradata: &dbtcloud.GlobalConnectionTeradataArgs{
Host: pulumi.String("string"),
Tmode: pulumi.String("string"),
Port: pulumi.String("string"),
RequestTimeout: pulumi.Int(0),
Retries: pulumi.Int(0),
},
})
resource "dbtcloud_global_connection" "globalConnectionResource" {
lifecycle {
create_before_destroy = true
}
apache_spark = {
cluster = "string"
host = "string"
method = "string"
auth = "string"
connect_retries = 0
connect_timeout = 0
organization = "string"
port = 0
user = "string"
}
athena = {
database = "string"
region_name = "string"
s3_staging_dir = "string"
num_boto3_retries = 0
num_iceberg_retries = 0
num_retries = 0
poll_interval = 0
s3_data_dir = "string"
s3_data_naming = "string"
s3_tmp_table_dir = "string"
spark_work_group = "string"
work_group = "string"
}
bigquery = {
gcp_project_id = "string"
impersonate_service_account = "string"
priority = "string"
auth_provider_x509_cert_url = "string"
auth_uri = "string"
client_email = "string"
client_id = "string"
client_x509_cert_url = "string"
dataproc_cluster_name = "string"
dataproc_region = "string"
deployment_env_auth_type = "string"
execution_project = "string"
application_id = "string"
gcs_bucket = "string"
api_endpoint = "string"
application_secret = "string"
job_retry_deadline_seconds = 0
job_creation_timeout_seconds = 0
location = "string"
maximum_bytes_billed = 0
job_execution_timeout_seconds = 0
private_key = "string"
private_key_id = "string"
private_key_wo = "string"
private_key_wo_version = 0
retries = 0
scopes = ["string"]
timeout_seconds = 0
token_uri = "string"
use_latest_adapter = false
}
clickhouse = {
host = "string"
database = "string"
port = 0
}
databricks = {
host = "string"
http_path = "string"
catalog = "string"
client_id = "string"
client_secret = "string"
scopes = ["string"]
}
fabric = {
database = "string"
server = "string"
login_timeout = 0
port = 0
query_timeout = 0
retries = 0
}
name = "string"
oauth_configuration_id = 0
postgres = {
dbname = "string"
hostname = "string"
port = 0
ssh_tunnel = {
hostname = "string"
port = 0
username = "string"
id = 0
public_key = "string"
}
}
private_link_endpoint_id = "string"
redshift = {
dbname = "string"
hostname = "string"
port = 0
ssh_tunnel = {
hostname = "string"
port = 0
username = "string"
id = 0
public_key = "string"
}
}
salesforce = {
login_url = "string"
data_transform_run_timeout = 0
database = "string"
}
snowflake = {
account = "string"
database = "string"
warehouse = "string"
allow_sso = false
client_session_keep_alive = false
oauth_client_id = "string"
oauth_client_secret = "string"
role = "string"
}
starburst = {
host = "string"
method = "string"
port = 0
}
synapse = {
database = "string"
host = "string"
login_timeout = 0
port = 0
query_timeout = 0
retries = 0
}
teradata = {
host = "string"
tmode = "string"
port = "string"
request_timeout = 0
retries = 0
}
}
var globalConnectionResource = new GlobalConnection("globalConnectionResource", GlobalConnectionArgs.builder()
.apacheSpark(GlobalConnectionApacheSparkArgs.builder()
.cluster("string")
.host("string")
.method("string")
.auth("string")
.connectRetries(0)
.connectTimeout(0)
.organization("string")
.port(0)
.user("string")
.build())
.athena(GlobalConnectionAthenaArgs.builder()
.database("string")
.regionName("string")
.s3StagingDir("string")
.numBoto3Retries(0)
.numIcebergRetries(0)
.numRetries(0)
.pollInterval(0)
.s3DataDir("string")
.s3DataNaming("string")
.s3TmpTableDir("string")
.sparkWorkGroup("string")
.workGroup("string")
.build())
.bigquery(GlobalConnectionBigqueryArgs.builder()
.gcpProjectId("string")
.impersonateServiceAccount("string")
.priority("string")
.authProviderX509CertUrl("string")
.authUri("string")
.clientEmail("string")
.clientId("string")
.clientX509CertUrl("string")
.dataprocClusterName("string")
.dataprocRegion("string")
.deploymentEnvAuthType("string")
.executionProject("string")
.applicationId("string")
.gcsBucket("string")
.apiEndpoint("string")
.applicationSecret("string")
.jobRetryDeadlineSeconds(0)
.jobCreationTimeoutSeconds(0)
.location("string")
.maximumBytesBilled(0)
.jobExecutionTimeoutSeconds(0)
.privateKey("string")
.privateKeyId("string")
.privateKeyWo("string")
.privateKeyWoVersion(0)
.retries(0)
.scopes("string")
.timeoutSeconds(0)
.tokenUri("string")
.useLatestAdapter(false)
.build())
.clickhouse(GlobalConnectionClickhouseArgs.builder()
.host("string")
.database("string")
.port(0)
.build())
.databricks(GlobalConnectionDatabricksArgs.builder()
.host("string")
.httpPath("string")
.catalog("string")
.clientId("string")
.clientSecret("string")
.scopes("string")
.build())
.fabric(GlobalConnectionFabricArgs.builder()
.database("string")
.server("string")
.loginTimeout(0)
.port(0)
.queryTimeout(0)
.retries(0)
.build())
.name("string")
.oauthConfigurationId(0)
.postgres(GlobalConnectionPostgresArgs.builder()
.dbname("string")
.hostname("string")
.port(0)
.sshTunnel(GlobalConnectionPostgresSshTunnelArgs.builder()
.hostname("string")
.port(0)
.username("string")
.id(0)
.publicKey("string")
.build())
.build())
.privateLinkEndpointId("string")
.redshift(GlobalConnectionRedshiftArgs.builder()
.dbname("string")
.hostname("string")
.port(0)
.sshTunnel(GlobalConnectionRedshiftSshTunnelArgs.builder()
.hostname("string")
.port(0)
.username("string")
.id(0)
.publicKey("string")
.build())
.build())
.salesforce(GlobalConnectionSalesforceArgs.builder()
.loginUrl("string")
.dataTransformRunTimeout(0)
.database("string")
.build())
.snowflake(GlobalConnectionSnowflakeArgs.builder()
.account("string")
.database("string")
.warehouse("string")
.allowSso(false)
.clientSessionKeepAlive(false)
.oauthClientId("string")
.oauthClientSecret("string")
.role("string")
.build())
.starburst(GlobalConnectionStarburstArgs.builder()
.host("string")
.method("string")
.port(0)
.build())
.synapse(GlobalConnectionSynapseArgs.builder()
.database("string")
.host("string")
.loginTimeout(0)
.port(0)
.queryTimeout(0)
.retries(0)
.build())
.teradata(GlobalConnectionTeradataArgs.builder()
.host("string")
.tmode("string")
.port("string")
.requestTimeout(0)
.retries(0)
.build())
.build());
global_connection_resource = dbtcloud.GlobalConnection("globalConnectionResource",
apache_spark={
"cluster": "string",
"host": "string",
"method": "string",
"auth": "string",
"connect_retries": 0,
"connect_timeout": 0,
"organization": "string",
"port": 0,
"user": "string",
},
athena={
"database": "string",
"region_name": "string",
"s3_staging_dir": "string",
"num_boto3_retries": 0,
"num_iceberg_retries": 0,
"num_retries": 0,
"poll_interval": 0,
"s3_data_dir": "string",
"s3_data_naming": "string",
"s3_tmp_table_dir": "string",
"spark_work_group": "string",
"work_group": "string",
},
bigquery={
"gcp_project_id": "string",
"impersonate_service_account": "string",
"priority": "string",
"auth_provider_x509_cert_url": "string",
"auth_uri": "string",
"client_email": "string",
"client_id": "string",
"client_x509_cert_url": "string",
"dataproc_cluster_name": "string",
"dataproc_region": "string",
"deployment_env_auth_type": "string",
"execution_project": "string",
"application_id": "string",
"gcs_bucket": "string",
"api_endpoint": "string",
"application_secret": "string",
"job_retry_deadline_seconds": 0,
"job_creation_timeout_seconds": 0,
"location": "string",
"maximum_bytes_billed": 0,
"job_execution_timeout_seconds": 0,
"private_key": "string",
"private_key_id": "string",
"private_key_wo": "string",
"private_key_wo_version": 0,
"retries": 0,
"scopes": ["string"],
"timeout_seconds": 0,
"token_uri": "string",
"use_latest_adapter": False,
},
clickhouse={
"host": "string",
"database": "string",
"port": 0,
},
databricks={
"host": "string",
"http_path": "string",
"catalog": "string",
"client_id": "string",
"client_secret": "string",
"scopes": ["string"],
},
fabric={
"database": "string",
"server": "string",
"login_timeout": 0,
"port": 0,
"query_timeout": 0,
"retries": 0,
},
name="string",
oauth_configuration_id=0,
postgres={
"dbname": "string",
"hostname": "string",
"port": 0,
"ssh_tunnel": {
"hostname": "string",
"port": 0,
"username": "string",
"id": 0,
"public_key": "string",
},
},
private_link_endpoint_id="string",
redshift={
"dbname": "string",
"hostname": "string",
"port": 0,
"ssh_tunnel": {
"hostname": "string",
"port": 0,
"username": "string",
"id": 0,
"public_key": "string",
},
},
salesforce={
"login_url": "string",
"data_transform_run_timeout": 0,
"database": "string",
},
snowflake={
"account": "string",
"database": "string",
"warehouse": "string",
"allow_sso": False,
"client_session_keep_alive": False,
"oauth_client_id": "string",
"oauth_client_secret": "string",
"role": "string",
},
starburst={
"host": "string",
"method": "string",
"port": 0,
},
synapse={
"database": "string",
"host": "string",
"login_timeout": 0,
"port": 0,
"query_timeout": 0,
"retries": 0,
},
teradata={
"host": "string",
"tmode": "string",
"port": "string",
"request_timeout": 0,
"retries": 0,
})
const globalConnectionResource = new dbtcloud.GlobalConnection("globalConnectionResource", {
apacheSpark: {
cluster: "string",
host: "string",
method: "string",
auth: "string",
connectRetries: 0,
connectTimeout: 0,
organization: "string",
port: 0,
user: "string",
},
athena: {
database: "string",
regionName: "string",
s3StagingDir: "string",
numBoto3Retries: 0,
numIcebergRetries: 0,
numRetries: 0,
pollInterval: 0,
s3DataDir: "string",
s3DataNaming: "string",
s3TmpTableDir: "string",
sparkWorkGroup: "string",
workGroup: "string",
},
bigquery: {
gcpProjectId: "string",
impersonateServiceAccount: "string",
priority: "string",
authProviderX509CertUrl: "string",
authUri: "string",
clientEmail: "string",
clientId: "string",
clientX509CertUrl: "string",
dataprocClusterName: "string",
dataprocRegion: "string",
deploymentEnvAuthType: "string",
executionProject: "string",
applicationId: "string",
gcsBucket: "string",
apiEndpoint: "string",
applicationSecret: "string",
jobRetryDeadlineSeconds: 0,
jobCreationTimeoutSeconds: 0,
location: "string",
maximumBytesBilled: 0,
jobExecutionTimeoutSeconds: 0,
privateKey: "string",
privateKeyId: "string",
privateKeyWo: "string",
privateKeyWoVersion: 0,
retries: 0,
scopes: ["string"],
timeoutSeconds: 0,
tokenUri: "string",
useLatestAdapter: false,
},
clickhouse: {
host: "string",
database: "string",
port: 0,
},
databricks: {
host: "string",
httpPath: "string",
catalog: "string",
clientId: "string",
clientSecret: "string",
scopes: ["string"],
},
fabric: {
database: "string",
server: "string",
loginTimeout: 0,
port: 0,
queryTimeout: 0,
retries: 0,
},
name: "string",
oauthConfigurationId: 0,
postgres: {
dbname: "string",
hostname: "string",
port: 0,
sshTunnel: {
hostname: "string",
port: 0,
username: "string",
id: 0,
publicKey: "string",
},
},
privateLinkEndpointId: "string",
redshift: {
dbname: "string",
hostname: "string",
port: 0,
sshTunnel: {
hostname: "string",
port: 0,
username: "string",
id: 0,
publicKey: "string",
},
},
salesforce: {
loginUrl: "string",
dataTransformRunTimeout: 0,
database: "string",
},
snowflake: {
account: "string",
database: "string",
warehouse: "string",
allowSso: false,
clientSessionKeepAlive: false,
oauthClientId: "string",
oauthClientSecret: "string",
role: "string",
},
starburst: {
host: "string",
method: "string",
port: 0,
},
synapse: {
database: "string",
host: "string",
loginTimeout: 0,
port: 0,
queryTimeout: 0,
retries: 0,
},
teradata: {
host: "string",
tmode: "string",
port: "string",
requestTimeout: 0,
retries: 0,
},
});
type: dbtcloud:GlobalConnection
properties:
apacheSpark:
auth: string
cluster: string
connectRetries: 0
connectTimeout: 0
host: string
method: string
organization: string
port: 0
user: string
athena:
database: string
numBoto3Retries: 0
numIcebergRetries: 0
numRetries: 0
pollInterval: 0
regionName: string
s3DataDir: string
s3DataNaming: string
s3StagingDir: string
s3TmpTableDir: string
sparkWorkGroup: string
workGroup: string
bigquery:
apiEndpoint: string
applicationId: string
applicationSecret: string
authProviderX509CertUrl: string
authUri: string
clientEmail: string
clientId: string
clientX509CertUrl: string
dataprocClusterName: string
dataprocRegion: string
deploymentEnvAuthType: string
executionProject: string
gcpProjectId: string
gcsBucket: string
impersonateServiceAccount: string
jobCreationTimeoutSeconds: 0
jobExecutionTimeoutSeconds: 0
jobRetryDeadlineSeconds: 0
location: string
maximumBytesBilled: 0
priority: string
privateKey: string
privateKeyId: string
privateKeyWo: string
privateKeyWoVersion: 0
retries: 0
scopes:
- string
timeoutSeconds: 0
tokenUri: string
useLatestAdapter: false
clickhouse:
database: string
host: string
port: 0
databricks:
catalog: string
clientId: string
clientSecret: string
host: string
httpPath: string
scopes:
- string
fabric:
database: string
loginTimeout: 0
port: 0
queryTimeout: 0
retries: 0
server: string
name: string
oauthConfigurationId: 0
postgres:
dbname: string
hostname: string
port: 0
sshTunnel:
hostname: string
id: 0
port: 0
publicKey: string
username: string
privateLinkEndpointId: string
redshift:
dbname: string
hostname: string
port: 0
sshTunnel:
hostname: string
id: 0
port: 0
publicKey: string
username: string
salesforce:
dataTransformRunTimeout: 0
database: string
loginUrl: string
snowflake:
account: string
allowSso: false
clientSessionKeepAlive: false
database: string
oauthClientId: string
oauthClientSecret: string
role: string
warehouse: string
starburst:
host: string
method: string
port: 0
synapse:
database: string
host: string
loginTimeout: 0
port: 0
queryTimeout: 0
retries: 0
teradata:
host: string
port: string
requestTimeout: 0
retries: 0
tmode: string
GlobalConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GlobalConnection resource accepts the following input properties:
- Apache
Spark Pulumi.Dbt Cloud. Inputs. Global Connection Apache Spark - Apache Spark connection configuration.
- Athena
Pulumi.
Dbt Cloud. Inputs. Global Connection Athena - Athena connection configuration.
- Bigquery
Pulumi.
Dbt Cloud. Inputs. Global Connection Bigquery - Clickhouse
Pulumi.
Dbt Cloud. Inputs. Global Connection Clickhouse - ClickHouse connection configuration.
- Databricks
Pulumi.
Dbt Cloud. Inputs. Global Connection Databricks - Databricks connection configuration
- Fabric
Pulumi.
Dbt Cloud. Inputs. Global Connection Fabric - Microsoft Fabric connection configuration.
- Name string
- Connection name
- Oauth
Configuration intId - External OAuth configuration ID. Supported for all connection types.
- Postgres
Pulumi.
Dbt Cloud. Inputs. Global Connection Postgres - PostgreSQL connection configuration.
- Private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - Redshift
Pulumi.
Dbt Cloud. Inputs. Global Connection Redshift - Redshift connection configuration
- Salesforce
Pulumi.
Dbt Cloud. Inputs. Global Connection Salesforce - Salesforce connection configuration.
- Snowflake
Pulumi.
Dbt Cloud. Inputs. Global Connection Snowflake - Snowflake connection configuration
- Starburst
Pulumi.
Dbt Cloud. Inputs. Global Connection Starburst - Starburst/Trino connection configuration.
- Synapse
Pulumi.
Dbt Cloud. Inputs. Global Connection Synapse - Azure Synapse Analytics connection configuration.
- Teradata
Pulumi.
Dbt Cloud. Inputs. Global Connection Teradata - Teradata connection configuration.
- Apache
Spark GlobalConnection Apache Spark Args - Apache Spark connection configuration.
- Athena
Global
Connection Athena Args - Athena connection configuration.
- Bigquery
Global
Connection Bigquery Args - Clickhouse
Global
Connection Clickhouse Args - ClickHouse connection configuration.
- Databricks
Global
Connection Databricks Args - Databricks connection configuration
- Fabric
Global
Connection Fabric Args - Microsoft Fabric connection configuration.
- Name string
- Connection name
- Oauth
Configuration intId - External OAuth configuration ID. Supported for all connection types.
- Postgres
Global
Connection Postgres Args - PostgreSQL connection configuration.
- Private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - Redshift
Global
Connection Redshift Args - Redshift connection configuration
- Salesforce
Global
Connection Salesforce Args - Salesforce connection configuration.
- Snowflake
Global
Connection Snowflake Args - Snowflake connection configuration
- Starburst
Global
Connection Starburst Args - Starburst/Trino connection configuration.
- Synapse
Global
Connection Synapse Args - Azure Synapse Analytics connection configuration.
- Teradata
Global
Connection Teradata Args - Teradata connection configuration.
- apache_
spark object - Apache Spark connection configuration.
- athena object
- Athena connection configuration.
- bigquery object
- clickhouse object
- ClickHouse connection configuration.
- databricks object
- Databricks connection configuration
- fabric object
- Microsoft Fabric connection configuration.
- name string
- Connection name
- oauth_
configuration_ numberid - External OAuth configuration ID. Supported for all connection types.
- postgres object
- PostgreSQL connection configuration.
- private_
link_ stringendpoint_ id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift object
- Redshift connection configuration
- salesforce object
- Salesforce connection configuration.
- snowflake object
- Snowflake connection configuration
- starburst object
- Starburst/Trino connection configuration.
- synapse object
- Azure Synapse Analytics connection configuration.
- teradata object
- Teradata connection configuration.
- apache
Spark GlobalConnection Apache Spark - Apache Spark connection configuration.
- athena
Global
Connection Athena - Athena connection configuration.
- bigquery
Global
Connection Bigquery - clickhouse
Global
Connection Clickhouse - ClickHouse connection configuration.
- databricks
Global
Connection Databricks - Databricks connection configuration
- fabric
Global
Connection Fabric - Microsoft Fabric connection configuration.
- name String
- Connection name
- oauth
Configuration IntegerId - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres - PostgreSQL connection configuration.
- private
Link StringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift - Redshift connection configuration
- salesforce
Global
Connection Salesforce - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake - Snowflake connection configuration
- starburst
Global
Connection Starburst - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata - Teradata connection configuration.
- apache
Spark GlobalConnection Apache Spark - Apache Spark connection configuration.
- athena
Global
Connection Athena - Athena connection configuration.
- bigquery
Global
Connection Bigquery - clickhouse
Global
Connection Clickhouse - ClickHouse connection configuration.
- databricks
Global
Connection Databricks - Databricks connection configuration
- fabric
Global
Connection Fabric - Microsoft Fabric connection configuration.
- name string
- Connection name
- oauth
Configuration numberId - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres - PostgreSQL connection configuration.
- private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift - Redshift connection configuration
- salesforce
Global
Connection Salesforce - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake - Snowflake connection configuration
- starburst
Global
Connection Starburst - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata - Teradata connection configuration.
- apache_
spark GlobalConnection Apache Spark Args - Apache Spark connection configuration.
- athena
Global
Connection Athena Args - Athena connection configuration.
- bigquery
Global
Connection Bigquery Args - clickhouse
Global
Connection Clickhouse Args - ClickHouse connection configuration.
- databricks
Global
Connection Databricks Args - Databricks connection configuration
- fabric
Global
Connection Fabric Args - Microsoft Fabric connection configuration.
- name str
- Connection name
- oauth_
configuration_ intid - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres Args - PostgreSQL connection configuration.
- private_
link_ strendpoint_ id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift Args - Redshift connection configuration
- salesforce
Global
Connection Salesforce Args - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake Args - Snowflake connection configuration
- starburst
Global
Connection Starburst Args - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse Args - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata Args - Teradata connection configuration.
- apache
Spark Property Map - Apache Spark connection configuration.
- athena Property Map
- Athena connection configuration.
- bigquery Property Map
- clickhouse Property Map
- ClickHouse connection configuration.
- databricks Property Map
- Databricks connection configuration
- fabric Property Map
- Microsoft Fabric connection configuration.
- name String
- Connection name
- oauth
Configuration NumberId - External OAuth configuration ID. Supported for all connection types.
- postgres Property Map
- PostgreSQL connection configuration.
- private
Link StringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift Property Map
- Redshift connection configuration
- salesforce Property Map
- Salesforce connection configuration.
- snowflake Property Map
- Snowflake connection configuration
- starburst Property Map
- Starburst/Trino connection configuration.
- synapse Property Map
- Azure Synapse Analytics connection configuration.
- teradata Property Map
- Teradata connection configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the GlobalConnection resource produces the following output properties:
- Adapter
Version string - Version of the adapter
- Analytics
Credentials intId - The ID of the analytics credential attached to this connection, if any.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ssh boolTunnel Enabled - Whether the connection can use an SSH tunnel
- Adapter
Version string - Version of the adapter
- Analytics
Credentials intId - The ID of the analytics credential attached to this connection, if any.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Ssh boolTunnel Enabled - Whether the connection can use an SSH tunnel
- adapter_
version string - Version of the adapter
- analytics_
credentials_ numberid - The ID of the analytics credential attached to this connection, if any.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
ssh_ booltunnel_ enabled - Whether the connection can use an SSH tunnel
- adapter
Version String - Version of the adapter
- analytics
Credentials IntegerId - The ID of the analytics credential attached to this connection, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ssh BooleanTunnel Enabled - Whether the connection can use an SSH tunnel
- adapter
Version string - Version of the adapter
- analytics
Credentials numberId - The ID of the analytics credential attached to this connection, if any.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Ssh booleanTunnel Enabled - Whether the connection can use an SSH tunnel
- adapter_
version str - Version of the adapter
- analytics_
credentials_ intid - The ID of the analytics credential attached to this connection, if any.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
ssh_ booltunnel_ enabled - Whether the connection can use an SSH tunnel
- adapter
Version String - Version of the adapter
- analytics
Credentials NumberId - The ID of the analytics credential attached to this connection, if any.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Ssh BooleanTunnel Enabled - Whether the connection can use an SSH tunnel
Look up Existing GlobalConnection Resource
Get an existing GlobalConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GlobalConnectionState, opts?: CustomResourceOptions): GlobalConnection@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
adapter_version: Optional[str] = None,
analytics_credentials_id: Optional[int] = None,
apache_spark: Optional[GlobalConnectionApacheSparkArgs] = None,
athena: Optional[GlobalConnectionAthenaArgs] = None,
bigquery: Optional[GlobalConnectionBigqueryArgs] = None,
clickhouse: Optional[GlobalConnectionClickhouseArgs] = None,
databricks: Optional[GlobalConnectionDatabricksArgs] = None,
fabric: Optional[GlobalConnectionFabricArgs] = None,
is_ssh_tunnel_enabled: Optional[bool] = None,
name: Optional[str] = None,
oauth_configuration_id: Optional[int] = None,
postgres: Optional[GlobalConnectionPostgresArgs] = None,
private_link_endpoint_id: Optional[str] = None,
redshift: Optional[GlobalConnectionRedshiftArgs] = None,
salesforce: Optional[GlobalConnectionSalesforceArgs] = None,
snowflake: Optional[GlobalConnectionSnowflakeArgs] = None,
starburst: Optional[GlobalConnectionStarburstArgs] = None,
synapse: Optional[GlobalConnectionSynapseArgs] = None,
teradata: Optional[GlobalConnectionTeradataArgs] = None) -> GlobalConnectionfunc GetGlobalConnection(ctx *Context, name string, id IDInput, state *GlobalConnectionState, opts ...ResourceOption) (*GlobalConnection, error)public static GlobalConnection Get(string name, Input<string> id, GlobalConnectionState? state, CustomResourceOptions? opts = null)public static GlobalConnection get(String name, Output<String> id, GlobalConnectionState state, CustomResourceOptions options)resources: existingGlobalConnection: type: dbtcloud:GlobalConnection get: id: ${id}import {
to = dbtcloud_global_connection.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state GlobalConnectionState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GlobalConnectionState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state GlobalConnectionState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state GlobalConnectionState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Adapter
Version string - Version of the adapter
- Analytics
Credentials intId - The ID of the analytics credential attached to this connection, if any.
- Apache
Spark Pulumi.Dbt Cloud. Inputs. Global Connection Apache Spark - Apache Spark connection configuration.
- Athena
Pulumi.
Dbt Cloud. Inputs. Global Connection Athena - Athena connection configuration.
- Bigquery
Pulumi.
Dbt Cloud. Inputs. Global Connection Bigquery - Clickhouse
Pulumi.
Dbt Cloud. Inputs. Global Connection Clickhouse - ClickHouse connection configuration.
- Databricks
Pulumi.
Dbt Cloud. Inputs. Global Connection Databricks - Databricks connection configuration
- Fabric
Pulumi.
Dbt Cloud. Inputs. Global Connection Fabric - Microsoft Fabric connection configuration.
- Is
Ssh boolTunnel Enabled - Whether the connection can use an SSH tunnel
- Name string
- Connection name
- Oauth
Configuration intId - External OAuth configuration ID. Supported for all connection types.
- Postgres
Pulumi.
Dbt Cloud. Inputs. Global Connection Postgres - PostgreSQL connection configuration.
- Private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - Redshift
Pulumi.
Dbt Cloud. Inputs. Global Connection Redshift - Redshift connection configuration
- Salesforce
Pulumi.
Dbt Cloud. Inputs. Global Connection Salesforce - Salesforce connection configuration.
- Snowflake
Pulumi.
Dbt Cloud. Inputs. Global Connection Snowflake - Snowflake connection configuration
- Starburst
Pulumi.
Dbt Cloud. Inputs. Global Connection Starburst - Starburst/Trino connection configuration.
- Synapse
Pulumi.
Dbt Cloud. Inputs. Global Connection Synapse - Azure Synapse Analytics connection configuration.
- Teradata
Pulumi.
Dbt Cloud. Inputs. Global Connection Teradata - Teradata connection configuration.
- Adapter
Version string - Version of the adapter
- Analytics
Credentials intId - The ID of the analytics credential attached to this connection, if any.
- Apache
Spark GlobalConnection Apache Spark Args - Apache Spark connection configuration.
- Athena
Global
Connection Athena Args - Athena connection configuration.
- Bigquery
Global
Connection Bigquery Args - Clickhouse
Global
Connection Clickhouse Args - ClickHouse connection configuration.
- Databricks
Global
Connection Databricks Args - Databricks connection configuration
- Fabric
Global
Connection Fabric Args - Microsoft Fabric connection configuration.
- Is
Ssh boolTunnel Enabled - Whether the connection can use an SSH tunnel
- Name string
- Connection name
- Oauth
Configuration intId - External OAuth configuration ID. Supported for all connection types.
- Postgres
Global
Connection Postgres Args - PostgreSQL connection configuration.
- Private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - Redshift
Global
Connection Redshift Args - Redshift connection configuration
- Salesforce
Global
Connection Salesforce Args - Salesforce connection configuration.
- Snowflake
Global
Connection Snowflake Args - Snowflake connection configuration
- Starburst
Global
Connection Starburst Args - Starburst/Trino connection configuration.
- Synapse
Global
Connection Synapse Args - Azure Synapse Analytics connection configuration.
- Teradata
Global
Connection Teradata Args - Teradata connection configuration.
- adapter_
version string - Version of the adapter
- analytics_
credentials_ numberid - The ID of the analytics credential attached to this connection, if any.
- apache_
spark object - Apache Spark connection configuration.
- athena object
- Athena connection configuration.
- bigquery object
- clickhouse object
- ClickHouse connection configuration.
- databricks object
- Databricks connection configuration
- fabric object
- Microsoft Fabric connection configuration.
- is_
ssh_ booltunnel_ enabled - Whether the connection can use an SSH tunnel
- name string
- Connection name
- oauth_
configuration_ numberid - External OAuth configuration ID. Supported for all connection types.
- postgres object
- PostgreSQL connection configuration.
- private_
link_ stringendpoint_ id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift object
- Redshift connection configuration
- salesforce object
- Salesforce connection configuration.
- snowflake object
- Snowflake connection configuration
- starburst object
- Starburst/Trino connection configuration.
- synapse object
- Azure Synapse Analytics connection configuration.
- teradata object
- Teradata connection configuration.
- adapter
Version String - Version of the adapter
- analytics
Credentials IntegerId - The ID of the analytics credential attached to this connection, if any.
- apache
Spark GlobalConnection Apache Spark - Apache Spark connection configuration.
- athena
Global
Connection Athena - Athena connection configuration.
- bigquery
Global
Connection Bigquery - clickhouse
Global
Connection Clickhouse - ClickHouse connection configuration.
- databricks
Global
Connection Databricks - Databricks connection configuration
- fabric
Global
Connection Fabric - Microsoft Fabric connection configuration.
- is
Ssh BooleanTunnel Enabled - Whether the connection can use an SSH tunnel
- name String
- Connection name
- oauth
Configuration IntegerId - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres - PostgreSQL connection configuration.
- private
Link StringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift - Redshift connection configuration
- salesforce
Global
Connection Salesforce - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake - Snowflake connection configuration
- starburst
Global
Connection Starburst - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata - Teradata connection configuration.
- adapter
Version string - Version of the adapter
- analytics
Credentials numberId - The ID of the analytics credential attached to this connection, if any.
- apache
Spark GlobalConnection Apache Spark - Apache Spark connection configuration.
- athena
Global
Connection Athena - Athena connection configuration.
- bigquery
Global
Connection Bigquery - clickhouse
Global
Connection Clickhouse - ClickHouse connection configuration.
- databricks
Global
Connection Databricks - Databricks connection configuration
- fabric
Global
Connection Fabric - Microsoft Fabric connection configuration.
- is
Ssh booleanTunnel Enabled - Whether the connection can use an SSH tunnel
- name string
- Connection name
- oauth
Configuration numberId - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres - PostgreSQL connection configuration.
- private
Link stringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift - Redshift connection configuration
- salesforce
Global
Connection Salesforce - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake - Snowflake connection configuration
- starburst
Global
Connection Starburst - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata - Teradata connection configuration.
- adapter_
version str - Version of the adapter
- analytics_
credentials_ intid - The ID of the analytics credential attached to this connection, if any.
- apache_
spark GlobalConnection Apache Spark Args - Apache Spark connection configuration.
- athena
Global
Connection Athena Args - Athena connection configuration.
- bigquery
Global
Connection Bigquery Args - clickhouse
Global
Connection Clickhouse Args - ClickHouse connection configuration.
- databricks
Global
Connection Databricks Args - Databricks connection configuration
- fabric
Global
Connection Fabric Args - Microsoft Fabric connection configuration.
- is_
ssh_ booltunnel_ enabled - Whether the connection can use an SSH tunnel
- name str
- Connection name
- oauth_
configuration_ intid - External OAuth configuration ID. Supported for all connection types.
- postgres
Global
Connection Postgres Args - PostgreSQL connection configuration.
- private_
link_ strendpoint_ id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift
Global
Connection Redshift Args - Redshift connection configuration
- salesforce
Global
Connection Salesforce Args - Salesforce connection configuration.
- snowflake
Global
Connection Snowflake Args - Snowflake connection configuration
- starburst
Global
Connection Starburst Args - Starburst/Trino connection configuration.
- synapse
Global
Connection Synapse Args - Azure Synapse Analytics connection configuration.
- teradata
Global
Connection Teradata Args - Teradata connection configuration.
- adapter
Version String - Version of the adapter
- analytics
Credentials NumberId - The ID of the analytics credential attached to this connection, if any.
- apache
Spark Property Map - Apache Spark connection configuration.
- athena Property Map
- Athena connection configuration.
- bigquery Property Map
- clickhouse Property Map
- ClickHouse connection configuration.
- databricks Property Map
- Databricks connection configuration
- fabric Property Map
- Microsoft Fabric connection configuration.
- is
Ssh BooleanTunnel Enabled - Whether the connection can use an SSH tunnel
- name String
- Connection name
- oauth
Configuration NumberId - External OAuth configuration ID. Supported for all connection types.
- postgres Property Map
- PostgreSQL connection configuration.
- private
Link StringEndpoint Id - Private Link Endpoint ID. This ID can be found using the
privatelinkEndpointdata source - redshift Property Map
- Redshift connection configuration
- salesforce Property Map
- Salesforce connection configuration.
- snowflake Property Map
- Snowflake connection configuration
- starburst Property Map
- Starburst/Trino connection configuration.
- synapse Property Map
- Azure Synapse Analytics connection configuration.
- teradata Property Map
- Teradata connection configuration.
Supporting Types
GlobalConnectionApacheSpark, GlobalConnectionApacheSparkArgs
- Cluster string
- Spark cluster for the connection
- Host string
- Hostname of the connection
- Method string
- Authentication method for the connection (http or thrift).
- Auth string
- Auth
- Connect
Retries int - Connection retries. Default=0
- Connect
Timeout int - Connection time out in seconds. Default=10
- Organization string
- Organization ID
- Port int
- Port for the connection. Default=443
- User string
- User
- Cluster string
- Spark cluster for the connection
- Host string
- Hostname of the connection
- Method string
- Authentication method for the connection (http or thrift).
- Auth string
- Auth
- Connect
Retries int - Connection retries. Default=0
- Connect
Timeout int - Connection time out in seconds. Default=10
- Organization string
- Organization ID
- Port int
- Port for the connection. Default=443
- User string
- User
- cluster string
- Spark cluster for the connection
- host string
- Hostname of the connection
- method string
- Authentication method for the connection (http or thrift).
- auth string
- Auth
- connect_
retries number - Connection retries. Default=0
- connect_
timeout number - Connection time out in seconds. Default=10
- organization string
- Organization ID
- port number
- Port for the connection. Default=443
- user string
- User
- cluster String
- Spark cluster for the connection
- host String
- Hostname of the connection
- method String
- Authentication method for the connection (http or thrift).
- auth String
- Auth
- connect
Retries Integer - Connection retries. Default=0
- connect
Timeout Integer - Connection time out in seconds. Default=10
- organization String
- Organization ID
- port Integer
- Port for the connection. Default=443
- user String
- User
- cluster string
- Spark cluster for the connection
- host string
- Hostname of the connection
- method string
- Authentication method for the connection (http or thrift).
- auth string
- Auth
- connect
Retries number - Connection retries. Default=0
- connect
Timeout number - Connection time out in seconds. Default=10
- organization string
- Organization ID
- port number
- Port for the connection. Default=443
- user string
- User
- cluster str
- Spark cluster for the connection
- host str
- Hostname of the connection
- method str
- Authentication method for the connection (http or thrift).
- auth str
- Auth
- connect_
retries int - Connection retries. Default=0
- connect_
timeout int - Connection time out in seconds. Default=10
- organization str
- Organization ID
- port int
- Port for the connection. Default=443
- user str
- User
- cluster String
- Spark cluster for the connection
- host String
- Hostname of the connection
- method String
- Authentication method for the connection (http or thrift).
- auth String
- Auth
- connect
Retries Number - Connection retries. Default=0
- connect
Timeout Number - Connection time out in seconds. Default=10
- organization String
- Organization ID
- port Number
- Port for the connection. Default=443
- user String
- User
GlobalConnectionAthena, GlobalConnectionAthenaArgs
- Database string
- Specify the database (data catalog) to build models into (lowercase only).
- Region
Name string - AWS region of your Athena instance.
- S3Staging
Dir string - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- Num
Boto3Retries int - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- Num
Iceberg intRetries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- Num
Retries int - Number of times to retry a failing query.
- Poll
Interval int - Interval in seconds to use for polling the status of query results in Athena.
- S3Data
Dir string - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- S3Data
Naming string - How to generate table paths in the S3 data directory.
- S3Tmp
Table stringDir - 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 stringGroup - Identifier of Athena Spark workgroup for running Python models.
- Work
Group string - Identifier of Athena workgroup.
- Database string
- Specify the database (data catalog) to build models into (lowercase only).
- Region
Name string - AWS region of your Athena instance.
- S3Staging
Dir string - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- Num
Boto3Retries int - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- Num
Iceberg intRetries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- Num
Retries int - Number of times to retry a failing query.
- Poll
Interval int - Interval in seconds to use for polling the status of query results in Athena.
- S3Data
Dir string - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- S3Data
Naming string - How to generate table paths in the S3 data directory.
- S3Tmp
Table stringDir - 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 stringGroup - Identifier of Athena Spark workgroup for running Python models.
- Work
Group string - Identifier of Athena workgroup.
- database string
- Specify the database (data catalog) to build models into (lowercase only).
- region_
name string - AWS region of your Athena instance.
- s3_
staging_ stringdir - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- num_
boto3_ numberretries - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- num_
iceberg_ numberretries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- 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.
- s3_
data_ stringdir - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- s3_
data_ stringnaming - How to generate table paths in the S3 data directory.
- s3_
tmp_ stringtable_ dir - 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_ stringgroup - Identifier of Athena Spark workgroup for running Python models.
- work_
group string - Identifier of Athena workgroup.
- database String
- Specify the database (data catalog) to build models into (lowercase only).
- region
Name String - AWS region of your Athena instance.
- s3Staging
Dir String - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- num
Boto3Retries Integer - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- num
Iceberg IntegerRetries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- num
Retries Integer - Number of times to retry a failing query.
- poll
Interval Integer - Interval in seconds to use for polling the status of query results in Athena.
- s3Data
Dir String - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- s3Data
Naming String - How to generate table paths in the S3 data directory.
- s3Tmp
Table StringDir - 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 StringGroup - Identifier of Athena Spark workgroup for running Python models.
- work
Group String - Identifier of Athena workgroup.
- database string
- Specify the database (data catalog) to build models into (lowercase only).
- region
Name string - AWS region of your Athena instance.
- s3Staging
Dir string - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- num
Boto3Retries number - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- num
Iceberg numberRetries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- 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.
- s3Data
Dir string - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- s3Data
Naming string - How to generate table paths in the S3 data directory.
- s3Tmp
Table stringDir - 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 stringGroup - Identifier of Athena Spark workgroup for running Python models.
- work
Group string - Identifier of Athena workgroup.
- database str
- Specify the database (data catalog) to build models into (lowercase only).
- region_
name str - AWS region of your Athena instance.
- s3_
staging_ strdir - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- num_
boto3_ intretries - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- num_
iceberg_ intretries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- num_
retries int - Number of times to retry a failing query.
- poll_
interval int - Interval in seconds to use for polling the status of query results in Athena.
- s3_
data_ strdir - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- s3_
data_ strnaming - How to generate table paths in the S3 data directory.
- s3_
tmp_ strtable_ dir - 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_ strgroup - Identifier of Athena Spark workgroup for running Python models.
- work_
group str - Identifier of Athena workgroup.
- database String
- Specify the database (data catalog) to build models into (lowercase only).
- region
Name String - AWS region of your Athena instance.
- s3Staging
Dir String - S3 location to store Athena query results and metadata. Must be in the format 's3://bucket-name/path/'.
- num
Boto3Retries Number - Number of times to retry boto3 requests (e.g. deleting S3 files for materialized tables).
- num
Iceberg NumberRetries - Number of times to retry iceberg commit queries to fix ICEBERGCOMMITERROR.
- 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.
- s3Data
Dir String - Prefix for storing tables, if different from the connection's S3 staging directory. Must be in the format 's3://bucket-name/path/'.
- s3Data
Naming String - How to generate table paths in the S3 data directory.
- s3Tmp
Table StringDir - 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 StringGroup - Identifier of Athena Spark workgroup for running Python models.
- work
Group String - Identifier of Athena workgroup.
GlobalConnectionBigquery, GlobalConnectionBigqueryArgs
- Gcp
Project stringId - The GCP project ID to use for the connection
- Api
Endpoint string - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - Application
Id string - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - Application
Secret string - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - Auth
Provider stringX509Cert Url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- Auth
Uri string - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- Client
Email string - Service Account email. Required when using 'service-account-json' authentication.
- Client
Id string - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- Client
X509Cert stringUrl - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- Dataproc
Cluster stringName - Dataproc cluster name for PySpark workloads
- Dataproc
Region string - Google Cloud region for PySpark workloads on Dataproc
- Deployment
Env stringAuth Type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- Execution
Project string - Project to bill for query execution
- Gcs
Bucket string - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- Impersonate
Service stringAccount - Service Account to impersonate when running queries
- Job
Creation intTimeout Seconds - Maximum timeout for the job creation step
- Job
Execution intTimeout Seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- Job
Retry intDeadline Seconds - Total number of seconds to wait while retrying the same query
- Location string
- Location to create new Datasets in
- Maximum
Bytes intBilled - Max number of bytes that can be billed for a given BigQuery query
- Priority string
- The priority with which to execute BigQuery queries (batch or interactive)
- Private
Key string - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringId - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- Private
Key stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - Retries int
- Number of retries for queries
- Scopes List<string>
- OAuth scopes for the BigQuery connection
- Timeout
Seconds int - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- Token
Uri string - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- Use
Latest boolAdapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- Gcp
Project stringId - The GCP project ID to use for the connection
- Api
Endpoint string - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - Application
Id string - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - Application
Secret string - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - Auth
Provider stringX509Cert Url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- Auth
Uri string - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- Client
Email string - Service Account email. Required when using 'service-account-json' authentication.
- Client
Id string - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- Client
X509Cert stringUrl - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- Dataproc
Cluster stringName - Dataproc cluster name for PySpark workloads
- Dataproc
Region string - Google Cloud region for PySpark workloads on Dataproc
- Deployment
Env stringAuth Type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- Execution
Project string - Project to bill for query execution
- Gcs
Bucket string - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- Impersonate
Service stringAccount - Service Account to impersonate when running queries
- Job
Creation intTimeout Seconds - Maximum timeout for the job creation step
- Job
Execution intTimeout Seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- Job
Retry intDeadline Seconds - Total number of seconds to wait while retrying the same query
- Location string
- Location to create new Datasets in
- Maximum
Bytes intBilled - Max number of bytes that can be billed for a given BigQuery query
- Priority string
- The priority with which to execute BigQuery queries (batch or interactive)
- Private
Key string - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - Private
Key stringId - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- Private
Key stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - Private
Key intWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - Retries int
- Number of retries for queries
- Scopes []string
- OAuth scopes for the BigQuery connection
- Timeout
Seconds int - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- Token
Uri string - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- Use
Latest boolAdapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- gcp_
project_ stringid - The GCP project ID to use for the connection
- api_
endpoint string - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - application_
id string - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - application_
secret string - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - auth_
provider_ stringx509_ cert_ url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- auth_
uri string - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- client_
email string - Service Account email. Required when using 'service-account-json' authentication.
- client_
id string - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- client_
x509_ stringcert_ url - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- dataproc_
cluster_ stringname - Dataproc cluster name for PySpark workloads
- dataproc_
region string - Google Cloud region for PySpark workloads on Dataproc
- deployment_
env_ stringauth_ type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- execution_
project string - Project to bill for query execution
- gcs_
bucket string - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- impersonate_
service_ stringaccount - Service Account to impersonate when running queries
- job_
creation_ numbertimeout_ seconds - Maximum timeout for the job creation step
- job_
execution_ numbertimeout_ seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- job_
retry_ numberdeadline_ seconds - Total number of seconds to wait while retrying the same query
- location string
- Location to create new Datasets in
- maximum_
bytes_ numberbilled - Max number of bytes that can be billed for a given BigQuery query
- priority string
- The priority with which to execute BigQuery queries (batch or interactive)
- private_
key string - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - private_
key_ stringid - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- private_
key_ stringwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - private_
key_ numberwo_ version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - retries number
- Number of retries for queries
- scopes list(string)
- OAuth scopes for the BigQuery connection
- timeout_
seconds number - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- token_
uri string - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- use_
latest_ booladapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- gcp
Project StringId - The GCP project ID to use for the connection
- api
Endpoint String - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - application
Id String - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - application
Secret String - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - auth
Provider StringX509Cert Url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- auth
Uri String - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- client
Email String - Service Account email. Required when using 'service-account-json' authentication.
- client
Id String - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- client
X509Cert StringUrl - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- dataproc
Cluster StringName - Dataproc cluster name for PySpark workloads
- dataproc
Region String - Google Cloud region for PySpark workloads on Dataproc
- deployment
Env StringAuth Type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- execution
Project String - Project to bill for query execution
- gcs
Bucket String - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- impersonate
Service StringAccount - Service Account to impersonate when running queries
- job
Creation IntegerTimeout Seconds - Maximum timeout for the job creation step
- job
Execution IntegerTimeout Seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- job
Retry IntegerDeadline Seconds - Total number of seconds to wait while retrying the same query
- location String
- Location to create new Datasets in
- maximum
Bytes IntegerBilled - Max number of bytes that can be billed for a given BigQuery query
- priority String
- The priority with which to execute BigQuery queries (batch or interactive)
- private
Key String - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringId - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- private
Key StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - private
Key IntegerWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - retries Integer
- Number of retries for queries
- scopes List<String>
- OAuth scopes for the BigQuery connection
- timeout
Seconds Integer - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- token
Uri String - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- use
Latest BooleanAdapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- gcp
Project stringId - The GCP project ID to use for the connection
- api
Endpoint string - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - application
Id string - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - application
Secret string - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - auth
Provider stringX509Cert Url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- auth
Uri string - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- client
Email string - Service Account email. Required when using 'service-account-json' authentication.
- client
Id string - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- client
X509Cert stringUrl - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- dataproc
Cluster stringName - Dataproc cluster name for PySpark workloads
- dataproc
Region string - Google Cloud region for PySpark workloads on Dataproc
- deployment
Env stringAuth Type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- execution
Project string - Project to bill for query execution
- gcs
Bucket string - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- impersonate
Service stringAccount - Service Account to impersonate when running queries
- job
Creation numberTimeout Seconds - Maximum timeout for the job creation step
- job
Execution numberTimeout Seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- job
Retry numberDeadline Seconds - Total number of seconds to wait while retrying the same query
- location string
- Location to create new Datasets in
- maximum
Bytes numberBilled - Max number of bytes that can be billed for a given BigQuery query
- priority string
- The priority with which to execute BigQuery queries (batch or interactive)
- private
Key string - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key stringId - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- private
Key stringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - private
Key numberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - retries number
- Number of retries for queries
- scopes string[]
- OAuth scopes for the BigQuery connection
- timeout
Seconds number - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- token
Uri string - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- use
Latest booleanAdapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- gcp_
project_ strid - The GCP project ID to use for the connection
- api_
endpoint str - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - application_
id str - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - application_
secret str - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - auth_
provider_ strx509_ cert_ url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- auth_
uri str - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- client_
email str - Service Account email. Required when using 'service-account-json' authentication.
- client_
id str - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- client_
x509_ strcert_ url - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- dataproc_
cluster_ strname - Dataproc cluster name for PySpark workloads
- dataproc_
region str - Google Cloud region for PySpark workloads on Dataproc
- deployment_
env_ strauth_ type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- execution_
project str - Project to bill for query execution
- gcs_
bucket str - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- impersonate_
service_ straccount - Service Account to impersonate when running queries
- job_
creation_ inttimeout_ seconds - Maximum timeout for the job creation step
- job_
execution_ inttimeout_ seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- job_
retry_ intdeadline_ seconds - Total number of seconds to wait while retrying the same query
- location str
- Location to create new Datasets in
- maximum_
bytes_ intbilled - Max number of bytes that can be billed for a given BigQuery query
- priority str
- The priority with which to execute BigQuery queries (batch or interactive)
- private_
key str - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - private_
key_ strid - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- private_
key_ strwo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - private_
key_ intwo_ version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - retries int
- Number of retries for queries
- scopes Sequence[str]
- OAuth scopes for the BigQuery connection
- timeout_
seconds int - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- token_
uri str - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- use_
latest_ booladapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
- gcp
Project StringId - The GCP project ID to use for the connection
- api
Endpoint String - The BigQuery API endpoint to connect to, without the scheme. Set this to the hostname of a Private Service Connect endpoint to route traffic over Private Link.
privateLinkEndpointIdonly records which endpoint the connection is meant to use, so both fields need to be set. - application
Id String - Client ID of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. This is not theclientIdof the service account keyfile. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - application
Secret String - Client secret of the OAuth application used for Native OAuth in development environments. Also required when
deploymentEnvAuthTypeisexternal-oauth-wif. The API never returns this value, so the provider cannot detect changes made outside of Terraform. - auth
Provider StringX509Cert Url - Auth Provider X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- auth
Uri String - Auth URI for the Service Account. Required when using 'service-account-json' authentication.
- client
Email String - Service Account email. Required when using 'service-account-json' authentication.
- client
Id String - Client ID of the Service Account. Required when using 'service-account-json' authentication.
- client
X509Cert StringUrl - Client X509 Cert URL for the Service Account. Required when using 'service-account-json' authentication.
- dataproc
Cluster StringName - Dataproc cluster name for PySpark workloads
- dataproc
Region String - Google Cloud region for PySpark workloads on Dataproc
- deployment
Env StringAuth Type - Authentication type for deployment environments. Can be 'service-account-json' or 'external-oauth-wif'. Defaults to 'service-account-json'.
- execution
Project String - Project to bill for query execution
- gcs
Bucket String - URI for a Google Cloud Storage bucket to host Python code executed via Datapro
- impersonate
Service StringAccount - Service Account to impersonate when running queries
- job
Creation NumberTimeout Seconds - Maximum timeout for the job creation step
- job
Execution NumberTimeout Seconds - Timeout in seconds for job execution, to be used for the bigqueryV1 adapter
- job
Retry NumberDeadline Seconds - Total number of seconds to wait while retrying the same query
- location String
- Location to create new Datasets in
- maximum
Bytes NumberBilled - Max number of bytes that can be billed for a given BigQuery query
- priority String
- The priority with which to execute BigQuery queries (batch or interactive)
- private
Key String - Private Key for the Service Account. Required when using 'service-account-json' authentication. Consider using
privateKeyWoinstead, which is not stored in state. - private
Key StringId - Private Key ID for the Service Account. Required when using 'service-account-json' authentication.
- private
Key StringWo - NOTE: This field is write-only and its value will not be updated in state as part of read operations.
Write-only alternative to
privateKey. The value is not stored in state. RequiresprivateKeyWoVersionto trigger updates. - private
Key NumberWo Version - Version number for
privateKeyWo. Increment this value to trigger an update of the private key when usingprivateKeyWo. - retries Number
- Number of retries for queries
- scopes List<String>
- OAuth scopes for the BigQuery connection
- timeout
Seconds Number - Timeout in seconds for queries, to be used ONLY for the bigqueryV0 adapter
- token
Uri String - Token URI for the Service Account. Required when using 'service-account-json' authentication.
- use
Latest BooleanAdapter - Whether to use the latest bigqueryV1 adapter (use this for BQ WIF). If true, the
jobExecutionTimeoutSecondsfield will be used. Warning! changing the adapter version (from legacy to latest or vice versa) is not supported.
GlobalConnectionClickhouse, GlobalConnectionClickhouseArgs
GlobalConnectionDatabricks, GlobalConnectionDatabricksArgs
- Host string
- The hostname of the Databricks cluster or SQL warehouse.
- Http
Path string - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- Scopes List<string>
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- Host string
- The hostname of the Databricks cluster or SQL warehouse.
- Http
Path string - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- Scopes []string
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- host string
- The hostname of the Databricks cluster or SQL warehouse.
- http_
path string - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- scopes list(string)
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- host String
- The hostname of the Databricks cluster or SQL warehouse.
- http
Path String - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- scopes List<String>
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- host string
- The hostname of the Databricks cluster or SQL warehouse.
- http
Path string - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- scopes string[]
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- host str
- The hostname of the Databricks cluster or SQL warehouse.
- http_
path str - The HTTP path of the Databricks cluster or SQL warehouse.
- catalog str
- Catalog name if Unity Catalog is enabled in your Databricks workspace.
- client_
id str - Required to enable Databricks OAuth authentication for IDE developers.
- client_
secret str - Required to enable Databricks OAuth authentication for IDE developers.
- scopes Sequence[str]
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
- host String
- The hostname of the Databricks cluster or SQL warehouse.
- http
Path String - The HTTP path of the Databricks cluster or SQL warehouse.
- 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.
- scopes List<String>
- OAuth scopes to use for the Databricks connection (e.g.
sql,all-apis). When not set, dbt Cloud relies on the default scopes (all-apisandofflineAccess).
GlobalConnectionFabric, GlobalConnectionFabricArgs
- Database string
- The database to connect to for this connection.
- Server string
- The server hostname.
- Login
Timeout int - 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 int
- The port to connect to for this connection. Default=1433
- Query
Timeout int - 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 int
- 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.
- Database string
- The database to connect to for this connection.
- Server string
- The server hostname.
- Login
Timeout int - 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 int
- The port to connect to for this connection. Default=1433
- Query
Timeout int - 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 int
- 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.
- database string
- The database to connect to for this connection.
- server 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=1433
- query_
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.
- database String
- The database to connect to for this connection.
- server String
- The server hostname.
- login
Timeout Integer - 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 Integer
- The port to connect to for this connection. Default=1433
- query
Timeout Integer - 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 Integer
- 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.
- database string
- The database to connect to for this connection.
- server 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=1433
- query
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.
- database str
- The database to connect to for this connection.
- server str
- The server hostname.
- login_
timeout int - 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 int
- The port to connect to for this connection. Default=1433
- query_
timeout int - 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 int
- 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.
- database String
- The database to connect to for this connection.
- server 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=1433
- query
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.
GlobalConnectionPostgres, GlobalConnectionPostgresArgs
- Dbname string
- The database name for this connection.
- Hostname string
- The hostname of the database.
- Port int
- The port to connect to for this connection. Default=5432
- Ssh
Tunnel Pulumi.Dbt Cloud. Inputs. Global Connection Postgres Ssh Tunnel - PostgreSQL SSH Tunnel configuration
- Dbname string
- The database name for this connection.
- Hostname string
- The hostname of the database.
- Port int
- The port to connect to for this connection. Default=5432
- Ssh
Tunnel GlobalConnection Postgres Ssh Tunnel - PostgreSQL SSH Tunnel configuration
- 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=5432
- ssh_
tunnel object - PostgreSQL SSH Tunnel configuration
- dbname String
- The database name for this connection.
- hostname String
- The hostname of the database.
- port Integer
- The port to connect to for this connection. Default=5432
- ssh
Tunnel GlobalConnection Postgres Ssh Tunnel - PostgreSQL SSH Tunnel configuration
- 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=5432
- ssh
Tunnel GlobalConnection Postgres Ssh Tunnel - PostgreSQL SSH Tunnel configuration
- dbname str
- The database name for this connection.
- hostname str
- The hostname of the database.
- port int
- The port to connect to for this connection. Default=5432
- ssh_
tunnel GlobalConnection Postgres Ssh Tunnel - PostgreSQL SSH Tunnel configuration
- 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=5432
- ssh
Tunnel Property Map - PostgreSQL SSH Tunnel configuration
GlobalConnectionPostgresSshTunnel, GlobalConnectionPostgresSshTunnelArgs
- hostname string
- The hostname for the SSH tunnel.
- port number
- The HTTP port for the SSH tunnel.
- username string
- The username to use for the SSH tunnel.
- id number
- The ID of the SSH tunnel connection.
- public_
key string - The SSH public key generated to allow connecting via SSH tunnel.
- hostname str
- The hostname for the SSH tunnel.
- port int
- The HTTP port for the SSH tunnel.
- username str
- The username to use for the SSH tunnel.
- id int
- The ID of the SSH tunnel connection.
- public_
key str - The SSH public key generated to allow connecting via SSH tunnel.
GlobalConnectionRedshift, GlobalConnectionRedshiftArgs
- Dbname string
- The database name for this connection.
- Hostname string
- The hostname of the data warehouse.
- Port int
- The port to connect to for this connection. Default=5432
- Ssh
Tunnel Pulumi.Dbt Cloud. Inputs. Global Connection Redshift Ssh Tunnel - Redshift SSH Tunnel configuration
- Dbname string
- The database name for this connection.
- Hostname string
- The hostname of the data warehouse.
- Port int
- The port to connect to for this connection. Default=5432
- Ssh
Tunnel GlobalConnection Redshift Ssh Tunnel - Redshift SSH Tunnel configuration
- dbname string
- The database name for this connection.
- hostname string
- The hostname of the data warehouse.
- port number
- The port to connect to for this connection. Default=5432
- ssh_
tunnel object - Redshift SSH Tunnel configuration
- dbname String
- The database name for this connection.
- hostname String
- The hostname of the data warehouse.
- port Integer
- The port to connect to for this connection. Default=5432
- ssh
Tunnel GlobalConnection Redshift Ssh Tunnel - Redshift SSH Tunnel configuration
- dbname string
- The database name for this connection.
- hostname string
- The hostname of the data warehouse.
- port number
- The port to connect to for this connection. Default=5432
- ssh
Tunnel GlobalConnection Redshift Ssh Tunnel - Redshift SSH Tunnel configuration
- dbname str
- The database name for this connection.
- hostname str
- The hostname of the data warehouse.
- port int
- The port to connect to for this connection. Default=5432
- ssh_
tunnel GlobalConnection Redshift Ssh Tunnel - Redshift SSH Tunnel configuration
- dbname String
- The database name for this connection.
- hostname String
- The hostname of the data warehouse.
- port Number
- The port to connect to for this connection. Default=5432
- ssh
Tunnel Property Map - Redshift SSH Tunnel configuration
GlobalConnectionRedshiftSshTunnel, GlobalConnectionRedshiftSshTunnelArgs
- hostname string
- The hostname for the SSH tunnel.
- port number
- The HTTP port for the SSH tunnel.
- username string
- The username to use for the SSH tunnel.
- id number
- The ID of the SSH tunnel connection.
- public_
key string - The SSH public key generated to allow connecting via SSH tunnel.
- hostname str
- The hostname for the SSH tunnel.
- port int
- The HTTP port for the SSH tunnel.
- username str
- The username to use for the SSH tunnel.
- id int
- The ID of the SSH tunnel connection.
- public_
key str - The SSH public key generated to allow connecting via SSH tunnel.
GlobalConnectionSalesforce, GlobalConnectionSalesforceArgs
- Login
Url string - The Salesforce instance URL (e.g., https://login.salesforce.com)
- Data
Transform intRun Timeout - Timeout in seconds for data transformation runs. Default=300
- Database string
- The target database name. Default=default
- Login
Url string - The Salesforce instance URL (e.g., https://login.salesforce.com)
- Data
Transform intRun Timeout - Timeout in seconds for data transformation runs. Default=300
- Database string
- The target database name. Default=default
- login_
url string - The Salesforce instance URL (e.g., https://login.salesforce.com)
- data_
transform_ numberrun_ timeout - Timeout in seconds for data transformation runs. Default=300
- database string
- The target database name. Default=default
- login
Url String - The Salesforce instance URL (e.g., https://login.salesforce.com)
- data
Transform IntegerRun Timeout - Timeout in seconds for data transformation runs. Default=300
- database String
- The target database name. Default=default
- login
Url string - The Salesforce instance URL (e.g., https://login.salesforce.com)
- data
Transform numberRun Timeout - Timeout in seconds for data transformation runs. Default=300
- database string
- The target database name. Default=default
- login_
url str - The Salesforce instance URL (e.g., https://login.salesforce.com)
- data_
transform_ intrun_ timeout - Timeout in seconds for data transformation runs. Default=300
- database str
- The target database name. Default=default
- login
Url String - The Salesforce instance URL (e.g., https://login.salesforce.com)
- data
Transform NumberRun Timeout - Timeout in seconds for data transformation runs. Default=300
- database String
- The target database name. Default=default
GlobalConnectionSnowflake, GlobalConnectionSnowflakeArgs
- Account string
- The Snowflake account name
- Database string
- The default database for the connection
- Warehouse string
- The default Snowflake Warehouse to use for the connection
- Allow
Sso bool - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - Client
Session boolKeep Alive - 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)
- Oauth
Client stringId - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- Oauth
Client stringSecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- Role string
- The Snowflake role to use when running queries on the connection
- Account string
- The Snowflake account name
- Database string
- The default database for the connection
- Warehouse string
- The default Snowflake Warehouse to use for the connection
- Allow
Sso bool - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - Client
Session boolKeep Alive - 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)
- Oauth
Client stringId - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- Oauth
Client stringSecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- Role string
- The Snowflake role to use when running queries on the connection
- account string
- The Snowflake account name
- database string
- The default database for the connection
- warehouse string
- The default Snowflake Warehouse to use for the connection
- allow_
sso bool - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - client_
session_ boolkeep_ alive - 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)
- oauth_
client_ stringid - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- oauth_
client_ stringsecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- role string
- The Snowflake role to use when running queries on the connection
- account String
- The Snowflake account name
- database String
- The default database for the connection
- warehouse String
- The default Snowflake Warehouse to use for the connection
- allow
Sso Boolean - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - client
Session BooleanKeep Alive - 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)
- oauth
Client StringId - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- oauth
Client StringSecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- role String
- The Snowflake role to use when running queries on the connection
- account string
- The Snowflake account name
- database string
- The default database for the connection
- warehouse string
- The default Snowflake Warehouse to use for the connection
- allow
Sso boolean - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - client
Session booleanKeep Alive - 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)
- oauth
Client stringId - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- oauth
Client stringSecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- role string
- The Snowflake role to use when running queries on the connection
- account str
- The Snowflake account name
- database str
- The default database for the connection
- warehouse str
- The default Snowflake Warehouse to use for the connection
- allow_
sso bool - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - client_
session_ boolkeep_ alive - 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)
- oauth_
client_ strid - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- oauth_
client_ strsecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- role str
- The Snowflake role to use when running queries on the connection
- account String
- The Snowflake account name
- database String
- The default database for the connection
- warehouse String
- The default Snowflake Warehouse to use for the connection
- allow
Sso Boolean - Whether to allow Snowflake OAuth for the connection. If true, the
oauthClientIdandoauthClientSecretfields must be set - client
Session BooleanKeep Alive - 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)
- oauth
Client StringId - OAuth Client ID. Required to allow OAuth between dbt Cloud and Snowflake
- oauth
Client StringSecret - OAuth Client Secret. Required to allow OAuth between dbt Cloud and Snowflake
- role String
- The Snowflake role to use when running queries on the connection
GlobalConnectionStarburst, GlobalConnectionStarburstArgs
GlobalConnectionSynapse, GlobalConnectionSynapseArgs
- Database string
- The database to connect to for this connection.
- Host string
- The server hostname.
- Login
Timeout int - 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 int
- The port to connect to for this connection. Default=1433
- Query
Timeout int - 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 int
- 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.
- Database string
- The database to connect to for this connection.
- Host string
- The server hostname.
- Login
Timeout int - 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 int
- The port to connect to for this connection. Default=1433
- Query
Timeout int - 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 int
- 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.
- 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=1433
- query_
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.
- database String
- The database to connect to for this connection.
- host String
- The server hostname.
- login
Timeout Integer - 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 Integer
- The port to connect to for this connection. Default=1433
- query
Timeout Integer - 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 Integer
- 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.
- 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=1433
- query
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.
- database str
- The database to connect to for this connection.
- host str
- The server hostname.
- login_
timeout int - 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 int
- The port to connect to for this connection. Default=1433
- query_
timeout int - 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 int
- 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.
- 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=1433
- query
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.
GlobalConnectionTeradata, GlobalConnectionTeradataArgs
- Host string
- The hostname of the database.
- Tmode string
- The transaction mode to use for the connection.
- Port string
- The port to connect to for this connection. Default=1025
- Request
Timeout int - 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 int
- 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.
- Host string
- The hostname of the database.
- Tmode string
- The transaction mode to use for the connection.
- Port string
- The port to connect to for this connection. Default=1025
- Request
Timeout int - 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 int
- 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.
- host string
- The hostname of the database.
- tmode string
- The transaction mode to use for the connection.
- port string
- The port to connect to for this connection. Default=1025
- request_
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.
- host String
- The hostname of the database.
- tmode String
- The transaction mode to use for the connection.
- port String
- The port to connect to for this connection. Default=1025
- request
Timeout Integer - 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 Integer
- 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.
- host string
- The hostname of the database.
- tmode string
- The transaction mode to use for the connection.
- port string
- The port to connect to for this connection. Default=1025
- request
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.
- host str
- The hostname of the database.
- tmode str
- The transaction mode to use for the connection.
- port str
- The port to connect to for this connection. Default=1025
- request_
timeout int - 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 int
- 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.
- host String
- The hostname of the database.
- tmode String
- The transaction mode to use for the connection.
- port String
- The port to connect to for this connection. Default=1025
- request
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.
Import
A project-scoped connection can be imported as a global connection by specifying the connection ID Migrating from project-scoped connections to global connections could be done by:
- Adding the config for the global connection and importing it (see below)
- Removing the project-scoped connection from the config AND from the state
- CAREFUL: If the connection is removed from the config but not the state, it will be destroyed on the next apply
using import blocks (requires Terraform >= 1.5) import { to = dbtcloud_global_connection.my_connection id = “connectionId” }
import { to = dbtcloud_global_connection.my_connection id = “1234” }
using the older import command
$ pulumi import dbtcloud:index/globalConnection:GlobalConnection my_connection "connection_id"
$ pulumi import dbtcloud:index/globalConnection:GlobalConnection my_connection 1234
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloudTerraform Provider.
dbt Cloudpublished on Tuesday, Nov 24, 2026 by Pulumi