1. Packages
  2. dbt Cloud
  3. API Docs
  4. Repository
dbt Cloud v0.1.10 published on Thursday, Jul 18, 2024 by Pulumi

dbtcloud.Repository

Explore with Pulumi AI

dbtcloud logo
dbt Cloud v0.1.10 published on Thursday, Jul 18, 2024 by Pulumi

    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"]);
    

    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)
    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 string
    The unique name of the resource.
    args RepositoryArgs
    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 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 string
    The unique name of the resource.
    args RepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
    });
    
    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),
    })
    
    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)
        .build());
    
    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)
    
    const repositoryResource = new dbtcloud.Repository("repositoryResource", {
        projectId: 0,
        remoteUrl: "string",
        azureActiveDirectoryProjectId: "string",
        azureActiveDirectoryRepositoryId: "string",
        azureBypassWebhookRegistrationFailure: false,
        gitCloneStrategy: "string",
        githubInstallationId: 0,
        gitlabProjectId: 0,
        isActive: false,
    });
    
    type: dbtcloud:Repository
    properties:
        azureActiveDirectoryProjectId: string
        azureActiveDirectoryRepositoryId: string
        azureBypassWebhookRegistrationFailure: false
        gitCloneStrategy: string
        githubInstallationId: 0
        gitlabProjectId: 0
        isActive: false
        projectId: 0
        remoteUrl: string
    

    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

    The Repository resource accepts the following input properties:

    ProjectId int
    Project ID to create the repository in
    RemoteUrl string
    Git URL for the repository or / for Gitlab
    AzureActiveDirectoryProjectId 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    GitlabProjectId int
    Identifier for the Gitlab project - (for GitLab native integration only)
    IsActive bool
    Whether the repository is active
    ProjectId int
    Project ID to create the repository in
    RemoteUrl string
    Git URL for the repository or / for Gitlab
    AzureActiveDirectoryProjectId 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    GitlabProjectId int
    Identifier for the Gitlab project - (for GitLab native integration only)
    IsActive bool
    Whether the repository is active
    projectId Integer
    Project ID to create the repository in
    remoteUrl String
    Git URL for the repository or / for Gitlab
    azureActiveDirectoryProjectId 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 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 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 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 Integer
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId Integer
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive Boolean
    Whether the repository is active
    projectId number
    Project ID to create the repository in
    remoteUrl string
    Git URL for the repository or / for Gitlab
    azureActiveDirectoryProjectId 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 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 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 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 number
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId number
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive boolean
    Whether the repository is active
    project_id int
    Project ID to create the repository in
    remote_url str
    Git URL for the repository or / for Gitlab
    azure_active_directory_project_id 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlab_project_id int
    Identifier for the Gitlab project - (for GitLab native integration only)
    is_active bool
    Whether the repository is active
    projectId Number
    Project ID to create the repository in
    remoteUrl String
    Git URL for the repository or / for Gitlab
    azureActiveDirectoryProjectId 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 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 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 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 Number
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId Number
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive Boolean
    Whether the repository is active

    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,
            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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    GitlabProjectId int
    Identifier for the Gitlab project - (for GitLab native integration only)
    IsActive bool
    Whether the repository is active
    ProjectId int
    Project ID to create the repository in
    RemoteUrl 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 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    GitlabProjectId int
    Identifier for the Gitlab project - (for GitLab native integration only)
    IsActive bool
    Whether the repository is active
    ProjectId int
    Project ID to create the repository in
    RemoteUrl 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 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 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 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 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 Integer
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId Integer
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive Boolean
    Whether the repository is active
    projectId Integer
    Project ID to create the repository in
    remoteUrl 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 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 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 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 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 number
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId number
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive boolean
    Whether the repository is active
    projectId number
    Project ID to create the repository in
    remoteUrl 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 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 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 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 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 int
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlab_project_id int
    Identifier for the Gitlab project - (for GitLab native integration only)
    is_active bool
    Whether the repository is active
    project_id int
    Project ID to create the repository in
    remote_url 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 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 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 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 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 Number
    Identifier for the GitHub App - (for GitHub native integration only)
    gitlabProjectId Number
    Identifier for the Gitlab project - (for GitLab native integration only)
    isActive Boolean
    Whether the repository is active
    projectId Number
    Project ID to create the repository in
    remoteUrl 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.
    dbtcloud logo
    dbt Cloud v0.1.10 published on Thursday, Jul 18, 2024 by Pulumi