dbt Cloud v1.1.1 published on Wednesday, Sep 17, 2025 by Pulumi
dbt Cloud Provider
Installation
The dbt Cloud provider is available as a package in all Pulumi languages:
- JavaScript/TypeScript:
@pulumi/dbtcloud
- Python:
pulumi-dbtcloud
- Go:
github.com/pulumi/pulumi-dbtcloud/sdk/go/dbtcloud
- .NET:
Pulumi.Dbtcloud
- Java:
com.pulumi/dbtcloud
Provider configuration
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: nodejs
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
import * as pulumi from "@pulumi/pulumi";
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: python
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
import pulumi
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: dotnet
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: go
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: yaml
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
{}
# Pulumi.yaml provider configuration file
name: configuration-example
runtime: java
config:
dbtcloud:accountId:
value: 'TODO: var.dbt_cloud_account_id'
dbtcloud:hostUrl:
value: https://cloud.getdbt.com/api
dbtcloud:token:
value: 'TODO: var.dbt_cloud_token'
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
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) {
}
}
Configuration Reference
accountId
(Number) Account identifier for your dbt Cloud implementation. Instead of setting the parameter, you can set the environment variableDBT_CLOUD_ACCOUNT_ID
disableRetry
(Boolean) If set to true, the provider will not retry requests that fail due to rate limiting. Defaults to false.hostUrl
(String) URL for your dbt Cloud deployment. Instead of setting the parameter, you can set the environment variableDBT_CLOUD_HOST_URL
- Defaults to https://cloud.getdbt.com/apimaxRetries
(Number) The maximum number of retries to attempt for requests that fail due to rate limiting. Defaults to 3 retries.retriableStatusCodes
(List of String) List of HTTP status codes that should be retried when encountered. Defaults to [429, 500, 502, 503, 504].retryIntervalSeconds
(Number) The number of seconds to wait before retrying a request that failed due to rate limiting. Defaults to 10 seconds.token
(String, Sensitive) API token for your dbt Cloud. Instead of setting the parameter, you can set the environment variableDBT_CLOUD_TOKEN