1. Packages
  2. dbt Cloud Provider
  3. API Docs
  4. Repository
dbt Cloud v0.1.30 published on Thursday, Mar 20, 2025 by Pulumi

dbtcloud.Repository

Explore with Pulumi AI

This resource allows you to manage connections to git repositories in dbt Cloud.

By itself, this resource won’t show you the repository in the dbt Cloud UI. You will need to also set up a dbtcloud.ProjectRepository resource as well to link your dbt Cloud project and the git repository.

In order to find the github_installation_id, you can log in to dbt Cloud, replace <dbt_cloud_url> by your dbt Cloud URL and run the following commands in the Google Chrome console:

dbt_cloud_api_result = await (fetch('https://<dbt_cloud_url>/api/v2/integrations/github/installations/').then(res => res.json()));
console.log("github_application_id: " + dbt_cloud_api_result.filter(res => res["access_tokens_url"].includes("github"))[0]["id"]);
Copy

Alternatively, you can go to the page https://<dbt_cloud_url>/api/v2/integrations/github/installations/ and read the value of id or use the http provider to retrieve it automatically like in the example below.

Create Repository Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Repository(name: string, args: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
               args: RepositoryArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Repository(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               project_id: Optional[int] = None,
               remote_url: Optional[str] = None,
               azure_active_directory_project_id: Optional[str] = None,
               azure_active_directory_repository_id: Optional[str] = None,
               azure_bypass_webhook_registration_failure: Optional[bool] = None,
               fetch_deploy_key: Optional[bool] = None,
               git_clone_strategy: Optional[str] = None,
               github_installation_id: Optional[int] = None,
               gitlab_project_id: Optional[int] = None,
               is_active: Optional[bool] = None,
               pull_request_url_template: Optional[str] = None)
func NewRepository(ctx *Context, name string, args RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs args, CustomResourceOptions? opts = null)
public Repository(String name, RepositoryArgs args)
public Repository(String name, RepositoryArgs args, CustomResourceOptions options)
type: dbtcloud:Repository
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. RepositoryArgs
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 repositoryResource = new DbtCloud.Repository("repositoryResource", new()
{
    ProjectId = 0,
    RemoteUrl = "string",
    AzureActiveDirectoryProjectId = "string",
    AzureActiveDirectoryRepositoryId = "string",
    AzureBypassWebhookRegistrationFailure = false,
    GitCloneStrategy = "string",
    GithubInstallationId = 0,
    GitlabProjectId = 0,
    IsActive = false,
    PullRequestUrlTemplate = "string",
});
Copy
example, err := dbtcloud.NewRepository(ctx, "repositoryResource", &dbtcloud.RepositoryArgs{
	ProjectId:                             pulumi.Int(0),
	RemoteUrl:                             pulumi.String("string"),
	AzureActiveDirectoryProjectId:         pulumi.String("string"),
	AzureActiveDirectoryRepositoryId:      pulumi.String("string"),
	AzureBypassWebhookRegistrationFailure: pulumi.Bool(false),
	GitCloneStrategy:                      pulumi.String("string"),
	GithubInstallationId:                  pulumi.Int(0),
	GitlabProjectId:                       pulumi.Int(0),
	IsActive:                              pulumi.Bool(false),
	PullRequestUrlTemplate:                pulumi.String("string"),
})
Copy
var repositoryResource = new Repository("repositoryResource", RepositoryArgs.builder()
    .projectId(0)
    .remoteUrl("string")
    .azureActiveDirectoryProjectId("string")
    .azureActiveDirectoryRepositoryId("string")
    .azureBypassWebhookRegistrationFailure(false)
    .gitCloneStrategy("string")
    .githubInstallationId(0)
    .gitlabProjectId(0)
    .isActive(false)
    .pullRequestUrlTemplate("string")
    .build());
Copy
repository_resource = dbtcloud.Repository("repositoryResource",
    project_id=0,
    remote_url="string",
    azure_active_directory_project_id="string",
    azure_active_directory_repository_id="string",
    azure_bypass_webhook_registration_failure=False,
    git_clone_strategy="string",
    github_installation_id=0,
    gitlab_project_id=0,
    is_active=False,
    pull_request_url_template="string")
Copy
const repositoryResource = new dbtcloud.Repository("repositoryResource", {
    projectId: 0,
    remoteUrl: "string",
    azureActiveDirectoryProjectId: "string",
    azureActiveDirectoryRepositoryId: "string",
    azureBypassWebhookRegistrationFailure: false,
    gitCloneStrategy: "string",
    githubInstallationId: 0,
    gitlabProjectId: 0,
    isActive: false,
    pullRequestUrlTemplate: "string",
});
Copy
type: dbtcloud:Repository
properties:
    azureActiveDirectoryProjectId: string
    azureActiveDirectoryRepositoryId: string
    azureBypassWebhookRegistrationFailure: false
    gitCloneStrategy: string
    githubInstallationId: 0
    gitlabProjectId: 0
    isActive: false
    projectId: 0
    pullRequestUrlTemplate: string
    remoteUrl: string
Copy

Repository 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 Repository resource accepts the following input properties:

ProjectId
This property is required.
Changes to this property will trigger replacement.
int
Project ID to create the repository in
RemoteUrl
This property is required.
Changes to this property will trigger replacement.
string
Git URL for the repository or / for Gitlab
AzureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
AzureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
AzureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
FetchDeployKey bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

GitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
GithubInstallationId Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
GitlabProjectId Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
IsActive bool
Whether the repository is active
PullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
ProjectId
This property is required.
Changes to this property will trigger replacement.
int
Project ID to create the repository in
RemoteUrl
This property is required.
Changes to this property will trigger replacement.
string
Git URL for the repository or / for Gitlab
AzureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
AzureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
AzureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
FetchDeployKey bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

GitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
GithubInstallationId Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
GitlabProjectId Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
IsActive bool
Whether the repository is active
PullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
projectId
This property is required.
Changes to this property will trigger replacement.
Integer
Project ID to create the repository in
remoteUrl
This property is required.
Changes to this property will trigger replacement.
String
Git URL for the repository or / for Gitlab
azureActiveDirectoryProjectId Changes to this property will trigger replacement. String
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. String
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. Boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
fetchDeployKey Boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. String
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. Integer
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. Integer
Identifier for the Gitlab project - (for GitLab native integration only)
isActive Boolean
Whether the repository is active
pullRequestUrlTemplate String
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
projectId
This property is required.
Changes to this property will trigger replacement.
number
Project ID to create the repository in
remoteUrl
This property is required.
Changes to this property will trigger replacement.
string
Git URL for the repository or / for Gitlab
azureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
fetchDeployKey boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. number
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. number
Identifier for the Gitlab project - (for GitLab native integration only)
isActive boolean
Whether the repository is active
pullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
project_id
This property is required.
Changes to this property will trigger replacement.
int
Project ID to create the repository in
remote_url
This property is required.
Changes to this property will trigger replacement.
str
Git URL for the repository or / for Gitlab
azure_active_directory_project_id Changes to this property will trigger replacement. str
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azure_active_directory_repository_id Changes to this property will trigger replacement. str
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azure_bypass_webhook_registration_failure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
fetch_deploy_key bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

git_clone_strategy Changes to this property will trigger replacement. str
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
github_installation_id Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
gitlab_project_id Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
is_active bool
Whether the repository is active
pull_request_url_template str
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
projectId
This property is required.
Changes to this property will trigger replacement.
Number
Project ID to create the repository in
remoteUrl
This property is required.
Changes to this property will trigger replacement.
String
Git URL for the repository or / for Gitlab
azureActiveDirectoryProjectId Changes to this property will trigger replacement. String
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. String
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. Boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
fetchDeployKey Boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. String
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. Number
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. Number
Identifier for the Gitlab project - (for GitLab native integration only)
isActive Boolean
Whether the repository is active
pullRequestUrlTemplate String
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.

Outputs

All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:

DeployKey string
Public key generated by dbt when using deploy_key clone strategy
Id string
The provider-assigned unique ID for this managed resource.
RepositoryCredentialsId int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
RepositoryId int
Repository Identifier
DeployKey string
Public key generated by dbt when using deploy_key clone strategy
Id string
The provider-assigned unique ID for this managed resource.
RepositoryCredentialsId int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
RepositoryId int
Repository Identifier
deployKey String
Public key generated by dbt when using deploy_key clone strategy
id String
The provider-assigned unique ID for this managed resource.
repositoryCredentialsId Integer
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId Integer
Repository Identifier
deployKey string
Public key generated by dbt when using deploy_key clone strategy
id string
The provider-assigned unique ID for this managed resource.
repositoryCredentialsId number
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId number
Repository Identifier
deploy_key str
Public key generated by dbt when using deploy_key clone strategy
id str
The provider-assigned unique ID for this managed resource.
repository_credentials_id int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repository_id int
Repository Identifier
deployKey String
Public key generated by dbt when using deploy_key clone strategy
id String
The provider-assigned unique ID for this managed resource.
repositoryCredentialsId Number
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId Number
Repository Identifier

Look up Existing Repository Resource

Get an existing Repository 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?: RepositoryState, opts?: CustomResourceOptions): Repository
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        azure_active_directory_project_id: Optional[str] = None,
        azure_active_directory_repository_id: Optional[str] = None,
        azure_bypass_webhook_registration_failure: Optional[bool] = None,
        deploy_key: Optional[str] = None,
        fetch_deploy_key: Optional[bool] = None,
        git_clone_strategy: Optional[str] = None,
        github_installation_id: Optional[int] = None,
        gitlab_project_id: Optional[int] = None,
        is_active: Optional[bool] = None,
        project_id: Optional[int] = None,
        pull_request_url_template: Optional[str] = None,
        remote_url: Optional[str] = None,
        repository_credentials_id: Optional[int] = None,
        repository_id: Optional[int] = None) -> Repository
func GetRepository(ctx *Context, name string, id IDInput, state *RepositoryState, opts ...ResourceOption) (*Repository, error)
public static Repository Get(string name, Input<string> id, RepositoryState? state, CustomResourceOptions? opts = null)
public static Repository get(String name, Output<String> id, RepositoryState state, CustomResourceOptions options)
resources:  _:    type: dbtcloud:Repository    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AzureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
AzureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
AzureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
DeployKey string
Public key generated by dbt when using deploy_key clone strategy
FetchDeployKey bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

GitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
GithubInstallationId Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
GitlabProjectId Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
IsActive bool
Whether the repository is active
ProjectId Changes to this property will trigger replacement. int
Project ID to create the repository in
PullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
RemoteUrl Changes to this property will trigger replacement. string
Git URL for the repository or / for Gitlab
RepositoryCredentialsId int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
RepositoryId int
Repository Identifier
AzureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
AzureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
AzureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
DeployKey string
Public key generated by dbt when using deploy_key clone strategy
FetchDeployKey bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

GitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
GithubInstallationId Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
GitlabProjectId Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
IsActive bool
Whether the repository is active
ProjectId Changes to this property will trigger replacement. int
Project ID to create the repository in
PullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
RemoteUrl Changes to this property will trigger replacement. string
Git URL for the repository or / for Gitlab
RepositoryCredentialsId int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
RepositoryId int
Repository Identifier
azureActiveDirectoryProjectId Changes to this property will trigger replacement. String
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. String
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. Boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
deployKey String
Public key generated by dbt when using deploy_key clone strategy
fetchDeployKey Boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. String
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. Integer
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. Integer
Identifier for the Gitlab project - (for GitLab native integration only)
isActive Boolean
Whether the repository is active
projectId Changes to this property will trigger replacement. Integer
Project ID to create the repository in
pullRequestUrlTemplate String
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
remoteUrl Changes to this property will trigger replacement. String
Git URL for the repository or / for Gitlab
repositoryCredentialsId Integer
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId Integer
Repository Identifier
azureActiveDirectoryProjectId Changes to this property will trigger replacement. string
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. string
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
deployKey string
Public key generated by dbt when using deploy_key clone strategy
fetchDeployKey boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. string
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. number
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. number
Identifier for the Gitlab project - (for GitLab native integration only)
isActive boolean
Whether the repository is active
projectId Changes to this property will trigger replacement. number
Project ID to create the repository in
pullRequestUrlTemplate string
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
remoteUrl Changes to this property will trigger replacement. string
Git URL for the repository or / for Gitlab
repositoryCredentialsId number
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId number
Repository Identifier
azure_active_directory_project_id Changes to this property will trigger replacement. str
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azure_active_directory_repository_id Changes to this property will trigger replacement. str
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azure_bypass_webhook_registration_failure Changes to this property will trigger replacement. bool
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
deploy_key str
Public key generated by dbt when using deploy_key clone strategy
fetch_deploy_key bool
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

git_clone_strategy Changes to this property will trigger replacement. str
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
github_installation_id Changes to this property will trigger replacement. int
Identifier for the GitHub App - (for GitHub native integration only)
gitlab_project_id Changes to this property will trigger replacement. int
Identifier for the Gitlab project - (for GitLab native integration only)
is_active bool
Whether the repository is active
project_id Changes to this property will trigger replacement. int
Project ID to create the repository in
pull_request_url_template str
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
remote_url Changes to this property will trigger replacement. str
Git URL for the repository or / for Gitlab
repository_credentials_id int
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repository_id int
Repository Identifier
azureActiveDirectoryProjectId Changes to this property will trigger replacement. String
The Azure Dev Ops project ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsProject and the project name - (for ADO native integration only)
azureActiveDirectoryRepositoryId Changes to this property will trigger replacement. String
The Azure Dev Ops repository ID. It can be retrieved via the Azure API or using the data source dbtcloud.getAzureDevOpsRepository along with the ADO Project ID and the repository name - (for ADO native integration only)
azureBypassWebhookRegistrationFailure Changes to this property will trigger replacement. Boolean
If set to False (the default), the connection will fail if the service user doesn't have access to set webhooks (required for auto-triggering CI jobs). If set to True, the connection will be successful but no automated CI job will be triggered - (for ADO native integration only)
deployKey String
Public key generated by dbt when using deploy_key clone strategy
fetchDeployKey Boolean
Whether we should return the public deploy key - (for the deploy_key strategy)

Deprecated: This field is deprecated and will be removed in a future version of the provider, please remove it from your configuration. The key is always fetched when the clone strategy is deploy_key

gitCloneStrategy Changes to this property will trigger replacement. String
Git clone strategy for the repository. Can be deploy_key (default) for cloning via SSH Deploy Key, github_app for GitHub native integration, deploy_token for the GitLab native integration and azure_active_directory_app for ADO native integration
githubInstallationId Changes to this property will trigger replacement. Number
Identifier for the GitHub App - (for GitHub native integration only)
gitlabProjectId Changes to this property will trigger replacement. Number
Identifier for the Gitlab project - (for GitLab native integration only)
isActive Boolean
Whether the repository is active
projectId Changes to this property will trigger replacement. Number
Project ID to create the repository in
pullRequestUrlTemplate String
URL template for creating a pull request. If it is not set, the default template will create a PR from the current branch to the branch configured in the Development environment.
remoteUrl Changes to this property will trigger replacement. String
Git URL for the repository or / for Gitlab
repositoryCredentialsId Number
Credentials ID for the repository (From the repository side not the dbt Cloud ID)
repositoryId Number
Repository Identifier

Package Details

Repository
dbtcloud pulumi/pulumi-dbtcloud
License
Apache-2.0
Notes
This Pulumi package is based on the dbtcloud Terraform Provider.