The dbt Cloud Resource Provider lets you manage dbt Cloud resources.
This package is available for several languages/platforms:
- JavaScript/TypeScript:
@aschot/pulumi-dbtcloud
- Python:
aschot-pulumi-dbtcloud
- Go:
github.com/a-schot/pulumi-dbtcloud/sdk/go/dbtcloud
- .NET:
ASchot.Pulumi.Dbtcloud
The dbt Cloud provider binary is a third party binary. It can be installed using the pulumi plugin command.
pulumi plugin install resource dbtcloud <version> --server github://api.github.com/a-schot/pulumi-dbtcloud
Replace <version>
with your desired version.
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @achot/pulumi_dbtcloud
or yarn
:
yarn add @achot/pulumi_dbtcloud
To use from Python, install using pip
:
pip install aschot-pulumi-dbtcloud
To use from Go, use go get
to grab the latest version of the library:
go get github.com/a-schot/pulumi-dbtcloud/sdk/go/dbtcloud
To use from .NET, install using dotnet add package
:
dotnet add package ASchot.Pulumi.Dbtcloud
Use pulumi config set dbtcloud:<option> (--secret)
.
Option | Environment Variable | Required/Optional | Default | Description |
---|---|---|---|---|
token |
DBT_CLOUD_TOKEN |
Required | The API token for your dbt Cloud user | |
accountId |
DBT_CLOUD_ACCOUNT_ID |
Required | The ID for your dbt Cloud account | |
hostUrl |
DBT_CLOUD_HOST_URL |
Optional | https://cloud.getdbt.com/api | The host URL for your dbt Cloud account |