Viewing docs for dbt Cloud v1.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Viewing docs for dbt Cloud v1.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
Starburst/Trino credential data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dbtcloud from "@pulumi/dbtcloud";
const example = dbtcloud.getStarburstCredential({
projectId: 123,
credentialId: 456,
});
import pulumi
import pulumi_dbtcloud as dbtcloud
example = dbtcloud.get_starburst_credential(project_id=123,
credential_id=456)
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.LookupStarburstCredential(ctx, &dbtcloud.LookupStarburstCredentialArgs{
ProjectId: 123,
CredentialId: 456,
}, nil)
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 example = DbtCloud.GetStarburstCredential.Invoke(new()
{
ProjectId = 123,
CredentialId = 456,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dbtcloud.DbtcloudFunctions;
import com.pulumi.dbtcloud.inputs.GetStarburstCredentialArgs;
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) {
final var example = DbtcloudFunctions.getStarburstCredential(GetStarburstCredentialArgs.builder()
.projectId(123)
.credentialId(456)
.build());
}
}
variables:
example:
fn::invoke:
function: dbtcloud:getStarburstCredential
arguments:
projectId: 123
credentialId: 456
Using getStarburstCredential
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStarburstCredential(args: GetStarburstCredentialArgs, opts?: InvokeOptions): Promise<GetStarburstCredentialResult>
function getStarburstCredentialOutput(args: GetStarburstCredentialOutputArgs, opts?: InvokeOptions): Output<GetStarburstCredentialResult>def get_starburst_credential(credential_id: Optional[int] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetStarburstCredentialResult
def get_starburst_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStarburstCredentialResult]func LookupStarburstCredential(ctx *Context, args *LookupStarburstCredentialArgs, opts ...InvokeOption) (*LookupStarburstCredentialResult, error)
func LookupStarburstCredentialOutput(ctx *Context, args *LookupStarburstCredentialOutputArgs, opts ...InvokeOption) LookupStarburstCredentialResultOutput> Note: This function is named LookupStarburstCredential in the Go SDK.
public static class GetStarburstCredential
{
public static Task<GetStarburstCredentialResult> InvokeAsync(GetStarburstCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetStarburstCredentialResult> Invoke(GetStarburstCredentialInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStarburstCredentialResult> getStarburstCredential(GetStarburstCredentialArgs args, InvokeOptions options)
public static Output<GetStarburstCredentialResult> getStarburstCredential(GetStarburstCredentialArgs args, InvokeOptions options)
fn::invoke:
function: dbtcloud:index/getStarburstCredential:getStarburstCredential
arguments:
# arguments dictionaryThe following arguments are supported:
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- credential
Id Integer - Credential ID
- project
Id Integer - Project ID
- credential
Id number - Credential ID
- project
Id number - Project ID
- credential_
id int - Credential ID
- project_
id int - Project ID
- credential
Id Number - Credential ID
- project
Id Number - Project ID
getStarburstCredential Result
The following output properties are available:
- Credential
Id int - Credential ID
- Database string
- The catalog to connect to
- Id string
- The ID of this resource. Contains the project ID and the credential ID.
- Project
Id int - Project ID
- Schema string
- The schema where to create models
- Credential
Id int - Credential ID
- Database string
- The catalog to connect to
- Id string
- The ID of this resource. Contains the project ID and the credential ID.
- Project
Id int - Project ID
- Schema string
- The schema where to create models
- credential
Id Integer - Credential ID
- database String
- The catalog to connect to
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- project
Id Integer - Project ID
- schema String
- The schema where to create models
- credential
Id number - Credential ID
- database string
- The catalog to connect to
- id string
- The ID of this resource. Contains the project ID and the credential ID.
- project
Id number - Project ID
- schema string
- The schema where to create models
- credential_
id int - Credential ID
- database str
- The catalog to connect to
- id str
- The ID of this resource. Contains the project ID and the credential ID.
- project_
id int - Project ID
- schema str
- The schema where to create models
- credential
Id Number - Credential ID
- database String
- The catalog to connect to
- id String
- The ID of this resource. Contains the project ID and the credential ID.
- project
Id Number - Project ID
- schema String
- The schema where to create models
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloudTerraform Provider.
Viewing docs for dbt Cloud v1.7.0
published on Tuesday, Mar 31, 2026 by Pulumi
published on Tuesday, Mar 31, 2026 by Pulumi
